Go Down

Topic: how to modify Password (Read 253 times) previous topic - next topic

ibujin5

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!!

johnwasser

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
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

ibujin5

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.

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview