Hi Everyone
I am attempting to implement a stipboard based PID temperature controller as detailed by Tom on his Magic Smoke blog. Details of the project are here. The Github repository is here.
This project is based on the osPID controller and firmware by Brett Beauregard and Rocket Scream, but the code has been changed to reflect the simplified hardware.
My issue is that when I go to compile the sketch osPID_Firmware.ino I get the following error message:
osPID_Engine.cpp:45: error: variable 'tuningRule' must be const in order to be put into read-only section by means of 'attribute((progmem))'
PROGMEM Tuning tuningRule[PID::NO_OVERSHOOT_PID + 1] =
The IDE version I am using is 1.6.12 and the target board is an Uno R3.
Does anyone have any idea what the issue could be or how I could resolve it?
As an aside. When I wasn't able to make any progress last night, I tried loading a pre-compiled version of this code osPID_Firmware.cpp.hex (celsius version found in pre-compiled folder on Github repository) using avrdude thinking that might be a workaround. It came pretty close to working, but failed when verifying with a mismatch at byte 0x7800. I have attached a screen shot of the avrdude screen.
As a fairly inexperienced arduino user, I would really appreciate any input people might have time to give...
Kind regards
Dan