Society of Robots - Robot Forum
Software => Software => Topic started by: Sitherus on November 23, 2013, 01:11:29 PM
-
ok so ive written this code http://pastebin.com/QzQmsP7R (http://pastebin.com/QzQmsP7R) for my self balancing robot im building but im having trouble when i run it on arduino program it has so many errors what did i do wrong i followed the tutorial exactly im getting these errors http://pastebin.com/SttJPACj (http://pastebin.com/SttJPACj)
-
The very first line of those errors is an error that you have to fix first.
It tells you that the syntax of your #include directive is not right.
Thus, I don't think you actually followed the instructions perfectly, because code that properly compiles cannot have that problem.
As a secondary concern, it would probably be useful for you to learn more about programming in general, so that you can diagnose these problems (or avoid them in the first place) yourself.
There are many good beginner Arduino tutorials, for example of a place where to get started.
-
programming has never been my thing i will hire someone to do it anyone want to take the offer?