mbed
Diff: drive.h
- Revision:
- 0:5dcb55a2880c
diff -r 000000000000 -r 5dcb55a2880c drive.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/drive.h Tue Aug 18 09:00:51 2015 +0000 @@ -0,0 +1,12 @@ +void MotInit(); +void MotConfig(int tl, int tr); +void BrakeMotL(); +void BrakeMotR(); +void MotL(int aPow); //aPow: -255...255 +void MotR(int aPow); +void MotDegL(int aPow, int deg); // aPow: -255...255 deg: 0...360 +void MotDegR(int aPow, int deg); +int getL(); +int getR(); +void setL(int val); +void setR(int val); \ No newline at end of file