Author |
Message |
Topic: Sort Servomotor Application AN696 Microchip |
RUFINOGG
Replies: 7
Views: 18337
|
Forum: General CCS C Discussion Posted: Wed Dec 11, 2013 4:48 am Subject: Sort Servomotor Application AN696 Microchip |
Hi Jerry I,
I am studying the changes you've made and see that SetupMove(){ has added:
/ *********** ADDED NEW CODE ************** /
travel_to = SegmentOrd [TRAVEL]
/ *********** END ... |
Topic: Sort Servomotor Application AN696 Microchip |
RUFINOGG
Replies: 7
Views: 18337
|
Forum: General CCS C Discussion Posted: Wed Dec 11, 2013 3:44 am Subject: Sort Servomotor Application AN696 Microchip |
Thanks for the information. I can not prove until the end of January, all I can do is study it, when you try it will tell you what happens.
Thanks |
Topic: Sort Servomotor Application AN696 Microchip |
RUFINOGG
Replies: 7
Views: 18337
|
Forum: General CCS C Discussion Posted: Mon Dec 09, 2013 6:18 pm Subject: Sort Servomotor Application AN696 Microchip |
This is the complete program translated to CCS:
//
//
File: ZoomAN696.H
//
///////////////////////////////////////////////////////////////////////////////
//////// Program memory ... |
Topic: Sort Servomotor Application AN696 Microchip |
RUFINOGG
Replies: 7
Views: 18337
|
Forum: General CCS C Discussion Posted: Mon Dec 09, 2013 11:05 am Subject: Sort Servomotor Application AN696 Microchip |
I am using the Microchip AN696 application and it works perfectly, but I want to modify it to order a new motor shaft position (destination) is "real" and not the current position plus the v ... |
Topic: Code of sprintf() |
RUFINOGG
Replies: 5
Views: 7019
|
Forum: General CCS C Discussion Posted: Tue Dec 14, 2010 5:33 am Subject: sprintf() |
And (of course), the old chestnut of unions rears it's head here again:
union {
int32 val;
int8 b[4];
} splitter;
splitter.val=0x12345678;
//now splitter.b[0 ... |
Topic: sscanf() for CCS |
RUFINOGG
Replies: 19
Views: 171533
|
Forum: Code Library Posted: Tue Dec 14, 2010 3:34 am Subject: scanf() |
For everyone:
If you say it doesn't compile, you need to post your compiler version.
Also say if you're trying to compile the code in Mark's original post
or the shorter version that he posted la ... |
Topic: Code of sprintf() |
RUFINOGG
Replies: 5
Views: 7019
|
Forum: General CCS C Discussion Posted: Mon Dec 13, 2010 7:23 pm Subject: sprintf() |
You can't.
It is worth understanding that the function is 'segmented'. Only parts of the whole code loads, depending on what options are used, so there is no single code for the functions. CCS, don't ... |
Topic: Code of sprintf() |
RUFINOGG
Replies: 5
Views: 7019
|
Forum: General CCS C Discussion Posted: Mon Dec 13, 2010 7:03 am Subject: Code of sprintf() |
Where I can find the code of sprintf() implementation in CCS environment ? |
|