The Planted Tank Forum - View Single Post - iAqua: My Touch Interface Aquarium Controller (Arduino)
View Single Post
post #1308 of (permalink) Old 09-17-2015, 12:33 PM
majid_gh7168
Algae Grower
 
majid_gh7168's Avatar
 
PTrader: (0/0%)
Join Date: Jan 2015
Location: germany
Posts: 16
Arduino: 1.5.8 (Windows 8), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from C:\Users\majid\Downloads\Compressed\arduino-1.5.8-windows\arduino-1.5.8\libraries\Time\DateStrings.cpp:11:0:
C:\Users\majid\Downloads\Compressed\arduino-1.5.8-windows\arduino-1.5.8\libraries\Time\DateStrings.cpp:41:22: error: variable 'monthNames_P' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
PGM_P monthNames_P[] PROGMEM =
^
C:\Users\majid\Downloads\Compressed\arduino-1.5.8-windows\arduino-1.5.8\libraries\Time\DateStrings.cpp:58:20: error: variable 'dayNames_P' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
PGM_P dayNames_P[] PROGMEM = { dayStr0,dayStr1,dayStr2,dayStr3,dayStr4,dayStr5,da yStr6,dayStr7};
^
C:\Users\majid\Downloads\Compressed\arduino-1.5.8-windows\arduino-1.5.8\libraries\Time\DateStrings.cpp:59:24: error: variable 'dayShortNames_P' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
char dayShortNames_P[] PROGMEM = "ErrSunMonTueWedThrFriSat";
^
Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
?????????????????????????????????????????????????? ???????????????????????????????????
majid_gh7168 is offline  
 
 
For the best viewing experience please update your browser to Google Chrome