Help create maxSize sketch

michinyon:
Is that what that PROGMEM syntax is actually doing ?

What is your question referencing?

PROGMEM is causing variables marked with it to have their data stored in flash and as a result are constant, as opposed to normal variables which reside in sram.