Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <EEPROM.h>
- char RamArray[]="1234";
- void setup()
- {
- // write a 0 to all 512 bytes of the EEPROM
- for (int i = 0; i < 4; i++)
- EEPROM.write(i, RamArray[i]); // mindah isi ram ke eeprom
- // turn the LED on when we're done
- digitalWrite(13, HIGH);
- }
- void loop()
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment