sbcshop / MotorShield

Designed to help you get your Raspberry Pi based Robot. This board can control DC motor as well as the stepper motor. You can connect your IR and Ultrasonic sensors to tell your robot about its environment. You can easily make your Line Following, Object following, Wall following, Maze-Solver Robots.
https://shop.sb-components.co.uk/products/motorshield-for-raspberry-pi
53 stars 47 forks source link

C++ API I thought I would share #24

Open osen opened 4 years ago

osen commented 4 years ago

Hello,

I was having a cleanup of my GitHub account when I came across a quick 'n dirty hack I made to the Adafruit MotorHat library (C++/Based on wiringpi) to make it work with your MotorShield a while back.

The work was done very quickly as a quick test integration with our existing system so will almost certainly want cleaning (probably a rewrite) but I am happy to share rather than lose it ;)

https://github.com/osen/sbcomponents_motorshield

Enjoy