Arduino Leonardo - Electronic Lock

Placed on

Fault the code in EEPROM memory

Now we can get a code, check it but what about saving it. Because when you reset the Arduino the RAM is cleared, so we have to find another way of storing it and being able to change it without having to reupload the program. This is where the EEPROM steps in the game ...

So we have to use the EEPROM library.

Storing and Getting the code from EEPROM

So now we are able to store and get a code from the EEPROM, it's time to enable it to change the code while the program is still running on the Arduino .

Changing the code while the program is running

Current Page 9. The code - part 4 - More codes 1. Introduction 2. The Schematic 3. The Keypad 4. The LCD module 5. The Servo 6. The code - part 1 - The Keypad 7. The code - part 2 - The LCD 8. The code - part 3 - The code 9. The code - part 4 - More codes 10. The code - part 5 - Setup and Loop 11. The full code Posted by

Comments

Webwinkelkeur Kiyoh Trustpilot Opencircuit