How do I code an array containing pointers to strings in flash? Something like:
PGM_P alpha[] =
{
PSTR("line 1"),
PSTR("line 2"),
0
};
Which isn't correct, but gives the idea. PGM_P probably isn't correct. The PSTR macro refuses to be used inside an initializer. I'm all hosed up.
The last element of the array is intended to be a zero/NULL signifying end-of-list.
And with a corrected version of the above, what do I declare for a pointer that takes values from this array?