mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers drive.h Source File

drive.h

00001 void MotInit();
00002 void MotConfig(int tl, int tr);
00003 void BrakeMotL();
00004 void BrakeMotR();
00005 void MotL(int aPow); //aPow: -255...255 
00006 void MotR(int aPow);
00007 void MotDegL(int aPow, int deg); // aPow: -255...255  deg: 0...360
00008 void MotDegR(int aPow, int deg);
00009 int getL();
00010 int getR();
00011 void setL(int val);
00012 void setR(int val);