Hi
I have an array of pin numbers they are part of a library and I'm using them with interrupts
External Interrupts and with Timer 3 output compare. I have declared the array as volatile I was wondering if I could put this array in flash memory since it the values never change? How would I do that inside a library? I'm using the values stored for digitalWrite and digitalRead. It works as I have it just fine but I'm wasting 12 bytes on sram do it the way I have below I'm using the 2560 board.
Thanks
Don
// variable used by interrupts
volatile uint8_t eomFlag = 0;
volatile uint8_t rxPins[] = {5,6,7,9,10,11}; // would like to put in flash memory
volatile uint8_t cdPins[] = {21,20,19,18,02,03}; // would like to put in flash memory