XachSB
Joined: 23 Jun 2009 Posts: 2
|
EEPROM Inserting 00s |
Posted: Wed Feb 17, 2010 1:21 am |
|
|
Hi,
I am using the following pre compiler directive on a PIC18F2423:
Code: |
#ROM 0xF00000 = {78,79,32,77,69,83,83,65,71,69,32,32,32,32,32,00}
|
In ASCI this should read "No Message " but when I look at the actual bytes that the .hex is writing to the PIC it shows up as:
0000- 4e 00 4f 00 20 00 4d 00
0008- 45 00 53 00 53 00 41 00
0010- 47 00 45 00 20 00 20 00
0018- 20 00 20 00 20 00 00 00
There is a space between each character and 00s are being written, I cant figure out why this is happening.
Any help would be apprecieated.
Thanks,
Zach |
|