Thans, Art. My variable is defined in code variables as follows:
Code:
serial_no VAR BYTE[4] ' Array stores unique serial no.of iChip in hex format
So like you say, it looks like it should work. However, it is still writing the value to EEPROM as 48 28 13 13 rather than 14 00 26 88 which is what the HEX values should be for the serial number of the device. This is driving me crazy! Been troublshooting this problem for a couple of weeks.
Any further suggestions would be greatly appreciated.
John Ellis
Bookmarks