Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
arduino sketch errors
#1
Hey all.
It's been a while since I've been here and since I've played with mu arduino.
I'm encountering something I've long ago solved but my memory fails me...

I'm compiling the 1.3 sketch to get this:

miniE:403: error: variable 'string_table' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
variable 'string_table' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

(Arduino: 1.6.5 (Windows 8.1), Board: "Arduino Uno")

would appreciate your help  Confused
Reply
#2
Try it with the version 1.0.6: https://www.arduino.cc/en/Main/OldSoftwareReleases#previous
/Airic
Reply
#3
(07-06-2015, 11:19 PM)Airic Lenz Wrote: Try it with the version 1.0.6: https://www.arduino.cc/en/Main/OldSoftwareReleases#previous
/Airic
Ach!
Now I get this:


Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Uno"
miniE:219: error: 'DateTime' does not name a type
miniE:457: error: 'RTC_DS1307' does not name a type
miniE:459: error: 'DateTime' does not name a type
miniE.ino: In function 'void setup()':
miniE:559: error: 'RTC' was not declared in this scope
miniE.ino: In function 'void loop()':
miniE:774: error: 'time' was not declared in this scope
miniE:774: error: 'RTC' was not declared in this scope
mE_eeprom.ino: In function 'void write_config()':
mE_eeprom:257: error: 'program_datetime' was not declared in this scope
mE_eeprom.ino: In function 'void load_config()':
mE_eeprom:341: error: 'program_datetime' was not declared in this scope
mE_program.ino: In function 'boolean check_programFuture()':
mE_program:58: error: 'program_datetime' was not declared in this scope
mE_program:58: error: 'time' was not declared in this scope
mE_program.ino: In function 'void add_newProgram()':
mE_program:88: error: 'program_datetime' was not declared in this scope
mE_program:88: error: 'RTC' was not declared in this scope
mE_program.ino: In function 'void delete_program()':
mE_program:127: error: 'program_datetime' was not declared in this scope
mE_program.ino: In function 'void check_programs()':
mE_program:183: error: 'time' was not declared in this scope
mE_program:195: error: 'time' was not declared in this scope
mE_program:195: error: 'program_datetime' was not declared in this scope
mE_program:208: error: 'time' was not declared in this scope
mE_program:208: error: 'program_datetime' was not declared in this scope
mE_ui.ino: In function 'void do_screen()':
mE_ui:272: error: 'time' was not declared in this scope
mE_ui_content.ino: In function 'void paint_status_screen()':
mE_ui_content:168: error: 'time' was not declared in this scope
mE_ui_content.ino: In function 'void fill_screen_array()':
mE_ui_content:319: error: 'program_datetime' was not declared in this scope
mE_ui_content:329: error: 'program_datetime' was not declared in this scope
mE_ui_content.ino: In function 'void paint_status_time()':
mE_ui_content:1240: error: 'time' was not declared in this scope
mE_ui_content:1261: error: 'RTC' was not declared in this scope
mE_ui_content:1261: error: 'time' was not declared in this scope
mE_ui_content:1267: error: 'time' was not declared in this scope
mE_ui_content:1268: error: 'time' was not declared in this scope
mE_ui_content.ino: In function 'void paint_status_program_time()':
mE_ui_content:1350: error: 'program_datetime' was not declared in this scope
Reply
#4
(07-07-2015, 12:03 PM)Soffer Wrote:
(07-06-2015, 11:19 PM)Airic Lenz Wrote: Try it with the version 1.0.6: https://www.arduino.cc/en/Main/OldSoftwareReleases#previous
/Airic
Ach!
Now I get this:


Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Uno"
miniE:219: error: 'DateTime' does not name a type

RTClib! Got It.  Wink
Reply
#5
Thank you very much helped, for a long time I was looking for the answer to this question.
bitpim alternative
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)