Great! I'm glad it made sense to you.
I was looking at your program, and frankly, I can't make heads or tails of it. Only because I can't understand french.
But I did see the EEPROM write routine, and I think there may still be a problem.
Code:
'******************************************
'Sauvegarde en EEPROM
'******************************************
WRITE 0, mode
FOR I = 1 TO 4
WRITE I+1, Echantillon.Lowbyte
WRITE I, Echantillon.Highbyte
Echantillon = Voiesafe[I]
NEXT I
You're writing the values to EEPROM before you get the value from the array. I think it should look more like this.
Code:
'******************************************
'Sauvegarde en EEPROM
'******************************************
WRITE 0, mode
FOR I = 1 TO 4
Echantillon = Voiesafe[I] ' Get value first
WRITE I+1, Echantillon.Lowbyte
WRITE I, Echantillon.Highbyte
NEXT I
But then, it could just be my lack of understanding french.
Best regards,
Darrel
Bookmarks