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
Need to change lines such as PROGMEM const char* weekString[] to PROGMEM const char* const weekString[], otherwise, it'll report errors like:
PROGMEM const char* weekString[]
PROGMEM const char* const weekString[]
error: variable 'weekString' must be const in order to be put into read-only section by means of 'attribute((progmem))'
Arduino wiki for AVR PROGMEM errors
The text was updated successfully, but these errors were encountered:
Thanks for your reporting. I'll fix it in a few days!
Sorry, something went wrong.
PROGMEM const char* const weekString[] = {"", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; PROGMEM const char* const ampmString[] = {"AM", "PM"};
use this instead
No branches or pull requests
Need to change lines such as
PROGMEM const char* weekString[]
toPROGMEM const char* const weekString[]
, otherwise, it'll report errors like:Arduino wiki for AVR PROGMEM errors
The text was updated successfully, but these errors were encountered: