#include <LMotorController.h> No such file found

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)

Any help welcome
Thanks
LymeRegis

I just downloaded it from: GitHub - kurimawxx00/arduino-self-balancing-robot

It allowed me to add as a .zip library and include it in a sketch.

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

There is a button on that page 'clone ir download'.

Click and choose download.

Once downloaded, the usual way is to use the IDE to install the zip; not behind a PC at the moment but probably libraries -> add zip.

Hi,

Yes, I tried this. The 'clone or download' button produces the response:

'This site cant provide a secure connection...unsupported protocol'.

Any ideas?

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.

On clicking 'download zip' I get the following message

"You don't have any public SSH keys in your GitHub account. You can add a new public key, or try cloning this repository via HTTPS"

From what you say I understand the problem may be at my end but do you have any ideas for me to try / any help please?

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.

I’ve just tried it on my iPad and ‘safari cannot establish a secure connection’.

Try using this download link:
https://github.com/kurimawxx00/arduino-self-balancing-robot/archive/master.zip

Thankyou very much.

This has enabled a step forward.

Unfortunately I now get the message: 'Error compiling for board Arduino / Genuino Uno'

Please do this:

  • 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.

Hi, OK Ive attached the text file.
A program has to be written for specific boards?
Thanks

Arduino.txt (82.2 KB)

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.

OK I'll give it a try.
Your time and advice is appreciated.