Go Down

Topic: board service considerations in your main loop (Read 439 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.
1) http://gammon.com.au/blink  <-- tasking Arduino 1-2-3
2) http://gammon.com.au/serial <-- techniques howto
3) http://gammon.com.au/interrupts
Your sketch can sense ongoing process events in time.
Your sketch can make events to control it over time.

Go Up