Author |
Message |
Topic: Help translating AD9833 code from C18 (?) to CCS |
marcoscab1166
Replies: 3
Views: 12902
|
Forum: General CCS C Discussion Posted: Sun Jan 05, 2020 3:58 pm Subject: Help translating AD9833 code from C18 (?) to CCS |
Well, i fixed the code in the last message, changing the formula to convert the frequency value in MHz, KHz or Hz to their respective register values.
The unit that will be considered is set by the # ... |
Topic: Help translating AD9833 code from C18 (?) to CCS |
marcoscab1166
Replies: 3
Views: 12902
|
Forum: General CCS C Discussion Posted: Thu Jan 02, 2020 5:46 pm Subject: Help translating AD9833 code from C18 (?) to CCS |
Ok, so i get tired of trying to translate. I started my own code with some pieces of other peoples code.
Most of the things come from here
https://www.ccsinfo.com/forum/viewtopic.php?t=54297
And t ... |
Topic: AD9833 |
marcoscab1166
Replies: 5
Views: 21420
|
Forum: General CCS C Discussion Posted: Thu Jan 02, 2020 8:33 am Subject: AD9833 |
I have written following library:
Hello there. You're not using the #use SPI line
In that line you define the pins and the way of function of the SPI.
Without it, doesn't matter if you config ... |
Topic: Help translating AD9833 code from C18 (?) to CCS |
marcoscab1166
Replies: 3
Views: 12902
|
Forum: General CCS C Discussion Posted: Thu Jan 02, 2020 8:05 am Subject: Help translating AD9833 code from C18 (?) to CCS |
Hi, i found this code on some chinese website for the AD9833 spi comunication.
I liked it because it seems preety simple, at least for start.
But im having troubles translating it to CCS. If anyone ... |
Topic: Stepper Motors Library |
marcoscab1166
Replies: 3
Views: 32200
|
Forum: Code Library Posted: Wed Dec 25, 2019 8:51 pm Subject: Re: Thank you, minor bug |
Thank you for this code. Works really well for int8 steps, but the following line should be changed for more than 255 steps:
int16 counter1, counter2;
I bought a PIC Clicker and STEPPER 3 Click. ... |
Topic: Stepper Motors Library |
marcoscab1166
Replies: 3
Views: 32200
|
Forum: Code Library Posted: Sun May 19, 2019 7:15 am Subject: Stepper Motors Library |
Hi, I would like to share a library I've been working on. It has some advantages over others that I've looked on internet.
The main one, you can freely define the pins that you will use to control th ... |
|