Hi there,
does anybody know how this warning can be suppressed? there is no way for me to avoid them (they stem from a framework i use).
Thanks!
Hi there,
does anybody know how this warning can be suppressed? there is no way for me to avoid them (they stem from a framework i use).
Thanks!
just add static to your declaration
PROGMEM static char my_byte[100] = {0x00,0x01,0x02,0x03 ...... }
then retrieve it as
char any_byte;
int index;
any_byte = pgm_read_byte(&(my_byte[index])) ;