I am successful putting and retrieving char array into Arduino flash memory using PROGMEM char arrays.
I am building my app using header files with class definition / implementation and would like to keep the strings in same header file.
If I define another PROGMEM char array neither one can be executed. In other words - these PROGMEM are global arrays as far as Arduino compiler is concerned, they compile but won't show up.
Here is my test code
lcd.clear(); lcd.print(*strFlashDebug); // in CDebug lcd.setCursor(0,1); lcd.print(*strFlashTrack); // in CTrack
If I put both definitions in same header file it only works with only one lcd.print enabled, not commented out.
It appears that multiple PROGMEM arrays can be defined and compiled but only one is actually usable. Any comments are appreciated. Cheers Vaclav