I can't read a WORD variable from EEPROM as 2 bytes into s_w1 but w1 works fine:
Incidentally, there isn't a version of EEPROM that goes something like
is there?
Code:
' TestInternalStorage
#picaxe 14M2
#TERMINAL 4800
Symbol JDN = s_w1 '
'Symbol JDN = w1 '
Symbol addrs = b26 ' EEPROM read/write address
addrs = 0
READ addrs, WORD JDN
sertxd(#JDN,cr,lf)
EEPROM 0, ( 3, 2)
Code:
EEPROM address, ( WORD wordvariable)