PICAXE 20X2
If I use a normal/standard word variable e.g. W11 and write a value e.g. 430 to the eeprom, shut my project down, boot up and then read the variable it returns 430. No problems there.
(write eewatts, word, watts)
(read eewatts, word, watts)
If I then use a system variable e.g. s_w1 write the value 430 to the eeprom, shut my project down, boot up and then read the variable it returns the value 174!
430 - 256 = 174
Would appreciate knowing why when using a system variabe it appears to only write or read byte values.
Eddydde
If I use a normal/standard word variable e.g. W11 and write a value e.g. 430 to the eeprom, shut my project down, boot up and then read the variable it returns 430. No problems there.
(write eewatts, word, watts)
(read eewatts, word, watts)
If I then use a system variable e.g. s_w1 write the value 430 to the eeprom, shut my project down, boot up and then read the variable it returns the value 174!
430 - 256 = 174
Would appreciate knowing why when using a system variabe it appears to only write or read byte values.
Eddydde