Tests the motor
Dependencies: btbee
Fork of m3pi_ng by
Diff: m3pi_ng.cpp
- Revision:
- 12:78fd82b3fb09
- Parent:
- 11:7bfb33432791
diff -r 7bfb33432791 -r 78fd82b3fb09 m3pi_ng.cpp --- a/m3pi_ng.cpp Fri May 17 14:04:12 2013 +0000 +++ b/m3pi_ng.cpp Tue Oct 15 12:49:35 2013 +0000 @@ -94,11 +94,11 @@ } void m3pi::left_motor (float speed) { - motor(0,speed); + motor(1,speed); } void m3pi::right_motor (float speed) { - motor(1,speed); + motor(0,speed); } void m3pi::forward (float speed) {