I coded most of my project in Arduino IDE on Win7.
I now need my code to be compiled by a Raspberry Pi using Ino via SSH.
To get Ino to compile, I had to move a lot of code around, add prototypes and add ‘extern’ statements in Globals.h.
The project now compiles by Ino and uploads to the Arduino Mega 2650, but doesn’t run at all.
I get two flashes of the LED on pin 13, then nothing.
My code now doesn’t compile in Arduino IDE on Win7. My pin definements aren’t found for some reason.
My question is, is there a fundemental problem with my project structure?
Have I used header files correctly? In particular, Globals.ino/Globals.h.
I have attached my project files and libraries. They can also be downloaded here:
The #include statements have relative paths to overcome an issue with Ino finding the header files.
I appreciate any help anyone can provide.
Fishtankv2.zip (735 KB)