Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   for (int address_error = 0; address_error < 5; address_error++) {
  2.     if (EEPROM.read(address_error) == 0xff) {
  3.       EEPROM.write(address_error, 0);
  4.     } else if (EEPROM.read(address_error) != 0) {
  5.       address_indic += sizeof(address_error) + 1;         // THIS BIT
  6.       EEPROM.write(address_indic, 1);
  7.     }
  8.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement