Hello,
Firstly I apologise if this is covered elsewhere in the Due forum, I have tried to search but found nothing specific to the Due and the use of PROGMEM with the Due and working with flash.
Does PROGMEM Arduino Playground - PROGMEM work on the Due, given that the pgmspace.h library avr-libc: <avr/pgmspace.h>: Program Space Utilities seems to require #include <avr/io.h>?
http://www.oreilly.de/catalog/arduinockbkger/Arduino_Kochbuch_englKap_17.pdf
Is there another way to store values directly into and work with flash memory on the Due?
What I'm looking to do is to:
- start the Due with an initial setpoint.
- update / send a revised setpoint from another device using CAN BUS, serial etc.
- update the initial setpoint in the due, so that should I remove the power from the due, under restart, or power up it uses the revised setpoint stored in flash memory that replaced the original setpoint value.
Thanks for your thoughts in advance
Rob