Skip to content
New issue

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

variable 'bitmap_array' must be const in order to be put into read-only section by means of '__attribute__((progmem))' is the issue while compiling. Please fix it or give a solution for this. Regards. #16

Open
AADITYA5584 opened this issue Apr 6, 2021 · 2 comments

Comments

@AADITYA5584
Copy link

No description provided.

@orgynmobs
Copy link

You have to specify that the pointer is const. try to use, for example
"PROGMEM const char* const weekString[]" instead of
" PROGMEM const char* weekString[]"

@VrajChariot
Copy link

PROGMEM const char* const weekString[] = {"", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
PROGMEM const char* const ampmString[] = {"AM", "PM"};
Try using using this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants