Hi guys,
I've been editing the "GarageMote" to use a Moteino in my greenhouse.
All of the sudden I'm getting this error:RFM69.h:76:1: error: expected ',' or ';' before 'class'
I'm saying "all of the sudden" because the last edit happened last night at...well, it was late and I don't remember what I've done :-X
I haven't touched the RFM69.h file and if I open any RFM69 example, it compiles without any problem
What can cause this problem?
Attached my sketch.
Thanks!
It appears you don't have a trailing semicolon on this line:
unsigned long lastValveOpen[valvesNumber] = {0, 0, 0, 0}
Since this line immediately precedes the line including the RFM69 library, that would do it.
Damned it!
That was it. A new thing that I've learned!
Thanks!!!
No problem, glad to help.