We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am receiving this error message trying to load the eeprom sketch: Arduino: 1.6.11 (Windows 7), Board: "Arduino/Genuino Uno"
eeprom_jun11b:1: error: stray '#' in program
+#include <EEPROM.h>
^
eeprom_jun11b:1: error: expected unqualified-id before '+' token
eeprom_jun11b:6: error: expected unqualified-id before '+' token
+int record = 0;
eeprom_jun11b:7: error: expected unqualified-id before '+' token
+unsigned int Sensor1 = 0;
eeprom_jun11b:8: error: expected unqualified-id before '+' token
+unsigned int Sensor2 = 0;
eeprom_jun11b:9: error: expected unqualified-id before '+' token
eeprom_jun11b:11: error: expected unqualified-id before '+' token
+int m;
eeprom_jun11b:12: error: expected unqualified-id before '+' token
eeprom_jun11b:13: error: expected unqualified-id before '+' token
+void setup()
exit status 1 stray '#' in program
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered:
This was also resolved by cutting a few lines at the beginning of the downloaded code to match what is published in the book.
Sorry, something went wrong.
No branches or pull requests
I am receiving this error message trying to load the eeprom sketch:
Arduino: 1.6.11 (Windows 7), Board: "Arduino/Genuino Uno"
eeprom_jun11b:1: error: stray '#' in program
+#include <EEPROM.h>
^
eeprom_jun11b:1: error: expected unqualified-id before '+' token
+#include <EEPROM.h>
^
eeprom_jun11b:6: error: expected unqualified-id before '+' token
+int record = 0;
^
eeprom_jun11b:7: error: expected unqualified-id before '+' token
+unsigned int Sensor1 = 0;
^
eeprom_jun11b:8: error: expected unqualified-id before '+' token
+unsigned int Sensor2 = 0;
^
eeprom_jun11b:9: error: expected unqualified-id before '+' token
^
eeprom_jun11b:11: error: expected unqualified-id before '+' token
+int m;
^
eeprom_jun11b:12: error: expected unqualified-id before '+' token
^
eeprom_jun11b:13: error: expected unqualified-id before '+' token
+void setup()
^
exit status 1
stray '#' in program
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered: