Go Down

Topic: board service considerations in your main loop (Read 299 times) previous topic - next topic

GoForSmoke

You should save user settings in EEPROM but that's more limited. Yes, flash should be written in full pages says the docs.

328P (Nano) has 1K EEPROM. You can add serial EEPROM/RAM/flash on SPI or I2C bus.

Normal AVR bootloaders do not allow writing to flash after the hex file is uploaded.
AVR bootloader is to allow programming via serial port.
Nick Gammon on multitasking Arduinos:
1) http://gammon.com.au/blink
2) http://gammon.com.au/serial
3) http://gammon.com.au/interrupts

Go Up