Skip to content

Commit

Permalink
eeprom
Browse files Browse the repository at this point in the history
  • Loading branch information
benny.saxen committed Oct 27, 2013
1 parent 96168ce commit de7a7e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions helloWorld_UNO.ino
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ void loop()
Serial.println(value2);

delay(1000);
EEPROM.write(34,'b');
char lue = EEPROM.read(34);
EEPROM.write(678,311);
int lue = EEPROM.read(678);
Serial.print("EEPROM value is: ");
Serial.println(lue);
}
Expand Down
4 changes: 2 additions & 2 deletions settings.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Simuino Setting Sat Oct 26 14:57:17 2013
SKETCH: helloWorld_MEGA.ino
# Simuino Setting Sun Oct 27 22:11:49 2013
SKETCH: helloWorld_UNO.ino
2 changes: 1 addition & 1 deletion simuino.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ void runMode(int stop)
unoInfo();

if(g_debug == 1)
readFile(confSketchFile,g_lineSketch[currentStep]);
readFile(g_currentSketch,g_lineSketch[currentStep]);


ch = getchar();
Expand Down

0 comments on commit de7a7e9

Please sign in to comment.