Created
June 15, 2013 14:34
-
-
Save turbinenreiter/5788343 to your computer and use it in GitHub Desktop.
This Arduino-sketch reads data from the EEPROM and prints it to the Serial Monitor.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <EEPROM.h> | |
int m = 0; | |
int n = 0; | |
// the setup routine runs once when you press reset: | |
void setup() { | |
// initialize serial communication at 9600 bits per second: | |
Serial.begin(9600); | |
} | |
// the loop routine runs over and over again forever: | |
void loop() { | |
while(n<1024){ | |
m = EEPROM.read(n); | |
n = n + 1; | |
Serial.println(m); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment