Got a Demo compilation along with a PLC based on Mega 2560.
Been struggling to get the code compiled as it keeps throwing the " Does Not name a type " error for a enum variable called RunMode.
Unfortunately there is no way I can replicate the error simply as its a compilation of a dozen or more .ino files.
So I am attaching the ZIP file. The offending code is inside the Arduino folder and is called plduino_firmware.ino. ( Please choose the board as Mega2560) Sorry about this additional work.
In case the code asks for libraries its in a folder by the same name but alternately you can search for “RunMode” term and that should give an idea on a syntax error.
Can someone just let me know whats wrong …Thanks!!
PLDuino-master.zip (1.47 MB)