Pages: [1]   Go Down
Author Topic: how to modify Password  (Read 244 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm new in Arduino. I have an Arduino UNO, and i've developed a KeyLock program to trigger an alarm. All is working properly, but i'd like to know how i could change the password from a keypad. I'm using password library, and i have the Password defined at the beginning of the program like Password password = Password ("1234"). But once program is running i'd like to be able to change it from the keypad, maybe with password.set function or something else, but i don't know how to use it.  Is there somebody that can help me??? Thank you very much!!
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8954
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The EEPROM feature of the ATmega processor is just right for storing values when the power goes off. See the EEPROM library:  http://arduino.cc/en/Reference/EEPROM
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thank you very much johnwasser. I'm going to see it in the link and i hope solve it! I'll tell you if I achieve it.
Logged

Pages: [1]   Go Up
Jump to: