Hi, New to this so please excuse etc etc. Can anyone help me ...
Have downloaded code for self balancing robot that includes line #include <LMotorController.h>
When compiled gets comment 'LMotorController.h: No such file'.
I cannot find this library, except at Github where the is an option to download it as zip file but is blocked due to incompatibility.
I've completed all of the exercises in an Arduino kit and want to build a self balancing robot with the components that I already have:
Uno 3;
GY-521 (MPU6050);
L293 (motor controller IC);
DC motors (from elsewhere that ive seen driven from the L293)
Hi,
Thankyou for your very prompt and kind reply.
I can navigate to the page that has the file LMotorController.h
But exactly what should I do to download it to my Arduino directory that requires a library zip file.
Clicking on it lets me have the code. Right clicking gives me a link. There is no 'download zip file' now (although at some point this was available).
Thanks
Mike
Ive just pasted the email address in ans there is a list of files, including the one I want.
Please describe the process of downloading a zip of the required file.
Thanks
Try it again. Millions of people use GitHub's Clone or download > Download ZIP function every day. It just tried and it works fine for me. If it still doesn't work for you, there is something wrong with your computer or network connection.
Are you sure you're clicking the right thing? I get that message if I click the "Use SSH" link. Even after that, clicking the "Download ZIP" button still works fine.
When you encounter an error, you'll see a button on the right side of the orange bar "Copy error messages" in the Arduino IDE (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button..
In a forum reply here, click on the reply field.
Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
Press "Ctrl + V". This will paste the error between the code tags.
Move the cursor outside of the code tags before you add any additional text to your reply.
If the text exceeds the forum's 9000 character limit, save it to a .txt file and post it as an attachment. If you click the "Reply" button here, you will see an "Attachments and other settings" link.
The problem is that the author of this "arduino-self-balancing-robot" thing really made a mess of it. It's not intended to be installed the way you installed it, but the right way to do it is a lot more confusing and we can make this way work. You previously installed the PID library separately, but now you have also installed it with arduino-self-balancing-robot. This is causing the error.
So you need to delete one of the two copies of the PID library. Since the arduino-self-balancing-robot sketch was written to work with the version of the PID library that comes bundled with it, it's best to delete the other PID library. To do that, you need to delete the C:\Users\MikeSale\Documents\Arduino\libraries\PID-1.2.0 folder. Please be very careful when deleting things from your computer. When in doubt, back up!
After deleting that folder, you should no longer get the error.
LymeRegis:
A program has to be written for specific boards?
Some programs are written for specific boards, others will work on any board.