-
Notifications
You must be signed in to change notification settings - Fork 9
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
Problem with insultStrings.h #2
Comments
The other lines of code being: |
Found a solution: `/****************************************************************************** #define NUM_V 4 // Number of "value" level insults. // While this "double-define" thing, where we declare a variable, then declare const char *const valueStringList[] PROGMEM= #define NUM_Q 8 // Number of "quality" insults const char qs1[] PROGMEM = "Stuck up, half-witted, scruffy looking nerf-herder!"; PGM_P const qualityStringList[] PROGMEM= #define NUM_L 17 // Number of "luxury" insults, for those who have everything. const char ls1[] PROGMEM = "It may be that the purpose of your life is solely to be a warning to others."; PGM_P const luxuryStringList[] PROGMEM = /* |
Hi there-
I'm trying to upload the code to my pro mini, but I get an error code relating to the line
const char *valueStringList[] PROGMEM=
It says that "variable 'qualityStringList' must be const in order to be put into read-only section by means of 'attribute((progmem))"
I get the same error code for other similar lines of code for the other variations of insult strings. Any advice as I try to fix it?
Thanks,
Caroline
The text was updated successfully, but these errors were encountered: