Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<EEPROM.h>
- char valor;
- String nome = "";
- //---------------------------------
- void setup()
- {
- Serial.begin(9600);
- }
- //----------------------------------
- void loop()
- {
- //Serial.println ('R'+'u'+'y'+'t'+'e'+'r');
- /*
- EEPROM.write(0, 'R');
- EEPROM.write(1, 'u');
- EEPROM.write(2, 'y');
- EEPROM.write(3, 't');
- EEPROM.write(4, 'e');
- EEPROM.write(5, 'r');
- while(1){}
- */
- for (int i = 0; i < 6; i ++)
- {
- valor = EEPROM.read(i);
- nome += String(valor);
- }
- Serial.println(nome);
- delay(1000);
- nome = "";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement