Skip to content

UlmerMan/Elegoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Getting Started

Commands

Command Explenation
car.init() This argument is needed in every code. It is to initialize the the library. In the brackets you can put the version of your robot. The default version is 3.
car.forward()
car.backward()
car.left()
car.right()
car.stop()
These arguments explain themself. Into the brackets you can put a number between 1 and 256 for the speed. The default speed is 255.
car.forwardT()
car.backwardT()
car.leftT()
car.rightT()
The arguments function just like the others but you have to put the time and the speed into the brackets.
With a syntax like this:
car.forwardT(SPEED, TIME);
You can choose a number between 1 and 255.
car.getDistance() This is a function to get the distance from the Ultrasonic sensor. It returns it as an Integer.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request