Skip to content

robotics-masters/EduCar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

EduCar

Code for RM Edu Car from Crowd Supply. For use with CircuitPython.

Usage

Place the robohateducar.py library file into the libs/ folder on your Robo HAT MM1 CIRCUITPY drive. Then use as per the example.

Example

Place the following code into code.py on the CIRCUITPY drive. Please edit as required.

import board
import time
from robohateducar import *

car = RoboHatEduCar()

# drive the car forwards 1 metre
car.drive(RoboHatEduCar.CMD_DRV_FORWARD, 1)

# stop the car
car.stop()

Freeze Module

Only required when using older CircuitPython boards

git submodule add https://github.com/robotics-masters/EduCar.git frozen/robohateducar

Docs

https://robohatmm1-docs.readthedocs.io/en/latest/projects/rmeducar/

About

Code for RM Edu Car from Crowd Supply

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages