Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <EEPROM.h>
- void setup()
- {
- Serial.begin(9600);
- }
- void loop()
- {
- for (int i = 0; i < 30; i+3)
- {
- EEPROM.write(i++, 10);
- EEPROM.write(i++, 7);
- EEPROM.write(i++, 8);
- }
- for (int i = 0; i < 30; i++)
- {
- int leitura = EEPROM.read(i);
- Serial.println(leitura,HEX);
- }
- while(1) {}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement