Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int address_error = 0; address_error < 5; address_error++) {
- if (EEPROM.read(address_error) == 0xff) {
- EEPROM.write(address_error, 0);
- } else if (EEPROM.read(address_error) != 0) {
- address_indic += sizeof(address_error) + 1; // THIS BIT
- EEPROM.write(address_indic, 1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement