test eep
Posted: Sun Nov 03, 2024 10:50 am
Hello to everyone,
The program sequence must run only once in the loop. I have the values key = 0 and key_ = 0 in the loop, but errors appeared and I did not understand why. In the test in this example I have key_ = 0, I write the key_ value to address 2, read address 2 and return the value in key_. On the display it shows the address of the eeprom location which is 2, instead of showing the key_ value which is 0.
The program sequence must run only once in the loop. I have the values key = 0 and key_ = 0 in the loop, but errors appeared and I did not understand why. In the test in this example I have key_ = 0, I write the key_ value to address 2, read address 2 and return the value in key_. On the display it shows the address of the eeprom location which is 2, instead of showing the key_ value which is 0.