I got a Make It Robotics Starter Kit and Arduino Uno and put the Line-Following Robot together. Got Arduino IDE and put MakitRobitics.cpp and MakeItRobitics.h in a MakeItRobotic file under a Sketch library. Get error compiling.
I got a Make It Robotics Starter Kit and Arduino Uno and put the Line-Following Robot together. Got Arduino IDE and put MakitRobitics.cpp and MakeItRobitics.h in a MakeItRobotic file under a Sketch library. Get error compiling.
Hello,
better if you put the link where did you got the two files. In a general base, as these are .c and .h files I suppose that are not the sketch parts but a library file and its related include file. So there are two options. If these are parts of a library you should put both of them in the library folder of your arduino IDE (a Arduino/libraries subfolder in your Documents folder in a normal installation). Then including the .h in your .ino sketch (it is not needed to put the .h file itself nor the .c in the sketch folder created by the IDE) you have automatically available the library methods and features in the .ino sketch.
In the second case, if these files are not part of a library, should anyway added as further files with the .ino sketch resulting:
Anyway, let us know what is the source and probably the mystery can be solved faster,
I have run the IDE on Linux. As for code, I found this Make: It Robotics Starter Kits, Add-On Kits & Arduino Uno | RadioShack On that page is a zip file from download that should have code you need and instructions. balearicdynamics directions are correct. Let either of us know if you have more questions.
Clem
Bill,
just done what you had to do.
It contains:
Install the MakeItRobotics Library
1. Create a MakeItRobotics folder in the libraries sub-directory of your Arduino folder or sketchbook directory.
2. Copy or move the MakeItRobotics.h, MakeItRobotics.cpp, keywords.txt, and GNU GENERAL PUBLIC LICENSE.pdf files,
and the Examples folder from the MakeItRobotics folder into that directory.
For more information about Libraries and for alternative installation methods, go to arduino.cc/en/Guide/Libraries
The robot moves down the line !
Thanks Enrico and Clem !
Bill
Took me ages to find the files indicated above - duh