Uno resets when using Serial.print() - memory problem?

Hi Paul,

thanks very much for your thoughts on this problem.

Before moving all my text into PROGMEM, I was using 75% of dynamic memory; afterwards, I'm using about 25%, so the saving is significant.

I'll admit, moving all my constants into PROGMEM is probably overkill and I think having my array of function pointers in PROGMEM stops it from working altogether (so I moved it back out again), but with only 2048 bytes of dynamic RAM to play with, every byte counts!

I'm not sure it's a case of accessing the data incorrectly - I haven't changed the access method (i.e. Serial.print()) between the non-PROGMEM version and the PROGMEM version. It's a bit of a moot point through, really, as without moving the options array into PROGMEM, there's not enough dynamic RAM for the program to run at all...

Are you logged into the forum? My code should appear at the bottom of my first post, next to a paperclip icon - the link is LCD_Keypad_Shield_Menu_02.ino . I'm not sure I follow you when you say I don't know I can access the data properly - the LCD.print routines work fine, it's just the serial.print that fails.

Thanks for your time on this - it's very much appreciated :slight_smile: