Initial Commit
Dependencies: mbed HC05 QEI MODSERIAL SWSPI mbed-rtos
Diff: main.cpp
- Revision:
- 5:eb706d3e512c
- Parent:
- 4:81b0de07841f
- Child:
- 6:5ab1735265a9
--- a/main.cpp Tue Oct 14 17:55:37 2014 +0000 +++ b/main.cpp Tue Oct 21 14:02:19 2014 +0000 @@ -69,8 +69,8 @@ if(Last_Error_Left==100) { Linput=0; } - *motors.Left = Linput; // HARSH change to -Linput for black and Linput for blue - *motors.Right = -Rinput; //// HARSH change to Rinput for black and -Rinput for blue + *motors.Left = -Linput; // HARSH change to -Linput for black and Linput for blue + *motors.Right = Rinput; //// HARSH change to Rinput for black and -Rinput for blue } char c; char buffer[10]; @@ -108,7 +108,7 @@ bt.gets(buffer, 2); if(buffer[0]=='A') { Selected_robot='A'; - imperial_march(); + //imperial_march(); } else if(buffer[0]=='F') { Selected_robot='F';