I've got an array of a custom structure. I've defined the structure in a typedef and call it my_struct. Now I got…
my_struct My_Array []= { {……}, {……},…};
And the entire contents is constant. I want to put it all in PROGMEM. But in order to retrieve an entry in the array I would need a custom macro pgm_read_my_struct().
Any suggestions on how to do that?