Mouse code for the MacroRat
Diff: main.h
- Revision:
- 15:b80555a4a8b9
- Parent:
- 11:8fc2b703086b
- Child:
- 17:f713758f6238
--- a/main.h Sat May 13 23:49:02 2017 +0000 +++ b/main.h Sun May 14 04:45:21 2017 +0000 @@ -30,8 +30,8 @@ IRPair IRP_2( PB_0, PA_6 ); IRPair IRP_1( PB_14, PA_7 ); -Motor left_motor( PB_7, PB_8, PB_4 ); -Motor right_motor( PA_10, PA_11, PB_5 ); +Motor left_motor( PB_8, PB_7, PB_4 ); // forward, backwards, enable +Motor right_motor( PA_11, PA_10, PB_5 ); // forward, backwards, enable /* DigitalOut IR_1(PB_1);