board service considerations in your main loop
Topic: board service considerations in your main loop
(Read 439 times)
Old And In The Way
I learn a bit every time I visit the forum.
Re: board service considerations in your main loop
Aug 29, 2017, 03:59 am
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
Your sketch can sense ongoing process events in time.
Your sketch can make events to control it over time.