drive down
Dependencies: BMP280 BNO055_fusion PowerControl mbed
Fork of TEAM_G_FLOW_RIDA by
LOCOMOTION.h
- Committer:
- 12104404
- Date:
- 2016-03-16
- Revision:
- 6:0602a9e8118b
- Child:
- 15:7729da55873a
File content as of revision 6:0602a9e8118b:
#ifndef LOCOMOTION_H #define LOCOMOTION_H #include "mbed.h" typedef struct { uint8_t m1f; uint8_t m1b; uint8_t m2f; uint8_t m2b; bool f1; bool f2; } LOCOMOTION_speed; class LOCOMOTION { public: LOCOMOTION(PwmOut& motor1F, PwmOut& motor1B,PwmOut& motor2F, PwmOut& motor2B, DigitalOut& forward1, DigitalOut& forward2); LOCOMOTION_speed _speed; }; #endif