I try this x = (int) lat /100
to make x = 25 ;
but it not work
help please
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Wed Oct 08, 2008 12:26 pm
In CCS, an 'int' is the same size as 'unsigned char' in C18.
To translate C18 code to CCS, you need to change every instance
of 'int' to 'signed int16'.
libor
Joined: 14 Dec 2004 Posts: 288 Location: Hungary
Posted: Wed Oct 08, 2008 1:14 pm
Btw. Has someone ever collected the comprehensive set of rules (like replace every 'xxx' with 'yyy', etc.) of converting C18 code to CCS ?
If yes, could it be automated as easily as writing some macros into a text editor ?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum