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.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 WRITE I+1, Echantillon.Lowbyte WRITE I, Echantillon.Highbyte Echantillon = Voiesafe[I] NEXT IBut then, it could just be my lack of understanding french.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
Best regards,
Darrel




Bookmarks