Created
March 30, 2016 13:48
-
-
Save smching/afeb7f17f643fcba65bc084df84d34f3 to your computer and use it in GitHub Desktop.
Arduino电子密码锁
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void loadConfiguration() { | |
| eeprom_read_string(USER_PASSWORD_EEPROM_ADDRESS, buf, maxPasswordLength + 1); //read USER password from EEPROM | |
| userPassword = buf; //use this password to release door lock | |
| eeprom_read_string(ADMIN_PASSWORD_EEPROM_ADDRESS, buf, maxPasswordLength + 1); //read ADMIN password from EEPROM | |
| adminPassword = buf; //use this password to enter menu selection | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment