Migrate from https://cmakerhk.wordpress.com/2018/12/28/memory-on-arduino/
in Arduino Uno
It has Program Storage Space vs Dynamic memory
“This will store in dynamic memory with each char a byte”
F(“And this will store in program storage space”)
–>> SAVE MORE MORE MORE MEMORY WILL.
https://www.arduino.cc/reference/en/language/variables/utilities/progmem/
https://www.nongnu.org/avr-libc/user-manual/group__avr__pgmspace.html
https://playground.arduino.cc/Code/EEPROMWriteAnything
ATMega168 | ATMega328P | ATmega1280 | ATmega2560 | |
---|---|---|---|---|
Flash (1 kByte used for bootloader) |
16 kBytes | 32 kBytes | 128 kBytes | 256 kBytes |
SRAM | 1024 bytes | 2048 bytes | 8 kBytes | 8 kBytes |
EEPROM | 512 bytes | 1024 bytes | 4 kBytes | 4 kBytes |
http://yehnan.blogspot.com/2014/03/arduinoeeprom.html
https://learn.adafruit.com/memories-of-an-arduino
//======built in support