Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Motor_NIT_Nagaoka_College PID Servo QEI SoftPWM mbed HBridge
Diff: main.cpp
- Revision:
- 6:21f6a2216fad
- Parent:
- 5:4b462b9cb255
- Child:
- 7:920cbfb28112
--- a/main.cpp Fri Sep 04 01:13:02 2015 +0000 +++ b/main.cpp Mon Sep 07 05:02:11 2015 +0000 @@ -6,7 +6,7 @@ #define RATE 0.05 BusOut air(p13,p14); DigitalOut out(p12); -Serial conn(p9,p10); +Serial conn(p28,p27); Serial pc(USBTX,USBRX); Motor L(p21,p15,p16); Motor R(p22,p17,p18); @@ -69,6 +69,7 @@ R.speed(ro); ot.speed(Tp.compute()); pc.printf("%d %d\n\r",Ls,read); + //pc.printf("%d-%d\r\n",tlo,tro); wait_ms(1); } }