Mouse code for the MacroRat
Diff: main.h
- Revision:
- 7:6f5cb6377bd4
- Parent:
- 6:3d68fedd6fd9
- Child:
- 8:a0760acdc59e
diff -r 3d68fedd6fd9 -r 6f5cb6377bd4 main.h --- a/main.h Thu May 04 21:38:20 2017 +0000 +++ b/main.h Fri May 05 00:08:59 2017 +0000 @@ -10,14 +10,15 @@ PwmOut right1(PA_10); PwmOut right2(PA_11); +DigitalOut enableLeftMotor(PB_4); +DigitalOut enableRightMotor(PB_5); + // RGB LED DigitalOut redLed(PC_0); DigitalOut blueLed(PC_1); DigitalOut greenLed(PC_2); // IRs - -/* DigitalOut IR_1(PB_1); DigitalOut IR_2(PB_13); DigitalOut IR_3(PB_0); @@ -28,7 +29,7 @@ AnalogIn Rec_2(PC_4); AnalogIn Rec_3(PA_6); AnalogIn Rec_4(PA_7); -*/ + // Doing DEBUGGING #define DEBUGGING 1