-
Notifications
You must be signed in to change notification settings - Fork 447
Not defined in this scope- arduino.mk on debian wheezy ARMv5 #286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey Peter, try putting your |
yes as @peplin says, the arduino ide does some fudgery which basically encourages bad c++ coding. you must always declare functions before using them, so really setup() and loop() should come at the end of the sketch, not the beginning. if you look at your sketch it makes sense really - you've called controlledFade() from loop() but loop() doesn't know what controlledFade() does, as its further down the file. |
@monkmandolins See #59 as well. |
That did it, and I am very grateful. |
great! |
Hi Sudar-
I am having trouble with the arduino.mk compiling a sketch. I am sure the solution is obvious, but I would really appreciate your help. I have set this up on a Pogoplug V4 which runs an ARMv5 Marvell Kirkwood.
Linux version 3.14.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14))
Here is the sketch:
my Makefile is:
and the output after '''make''' or '''make upload''' is as follows:
Do you have any advice for me? I can't use the GUI arduino IDE on this device.
Thanks
Peter
The text was updated successfully, but these errors were encountered: