Hi, I have a 200 var int32 in a 24LC256, i need to copy for the memory RAM in " INT32 BUFFER_COORD[200] ". Which the best way ?
Thanks in advanced
Orcino
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Mon Oct 23, 2006 2:34 pm
Read four bytes from the eeprom, in sequence. Put each byte in
a temporary variable in your C program. Then use the make32()
function to combine the four temporary variables into one 32-bit
value. Put the result of make()32 into one element of your
Buffer_Coord[] array. Create a for() loop that will execute 200 times
and repeat the above process until you have filled the array.
See the CCS manual for a description of the make32() function.
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