Its a long program, but what i'm trying to do using READ and WRITE is as follows:
'at the start of the program read these values from EEPROM and place in the variables'
Read 0, trip_amount[0]
Read 1, trip_amount[1]
'so far so good, this works as per usual'
If S1 = 1 Then
Read 0, temperary[0]
Read 1, temperary[1]
If (trip_amount[0] <> temperary[0]) OR (trip_amount[1] <> temperary[1]) Then
Write 0, trip_amount[0]
Write 1, trip_amount[1]
LCDOut $FE, 1
LCDOut $FE, $C0 , " SAVING CHANGES"
Pause 1000
EndIf
Goto Menue_2_0
EndIf
'I get a SAVING CHANGES on the LCD but the eeprom values dont change'





Bookmarks