First import from throwbot
motors.h
- Committer:
- Throwbot
- Date:
- 2014-05-08
- Revision:
- 0:5b2bf6e79b07
- Child:
- 1:201d986498c7
File content as of revision 0:5b2bf6e79b07:
#ifndef MOTORS_H #define MOTORS_H #include "mbed.h" #include "TB6612.h" class Motors { private: void stop(void const *args); public: TB6612 * Left; TB6612 * Right; DigitalOut enable; Motors(TB6612 * L, TB6612 * R, PinName STBY); void flip(); }; #endif