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.
Fork of MM_rat_Assignment4 by
Diff: header.h
- Revision:
- 6:ce498700a28c
- Parent:
- 3:4e34437daef4
- Child:
- 7:7cdb0381e1b8
--- a/header.h Mon Nov 27 17:45:06 2017 +0000 +++ b/header.h Mon Nov 27 21:42:00 2017 +0000 @@ -18,8 +18,8 @@ AnalogIn FrontLeftReceiver(PC_1); AnalogIn FrontRightReceiver(PA_4); AnalogIn RightReceiver(PA_0); -PwmOut lpwmf(PA_7); -PwmOut lpwmb(PB_6); +PwmOut lpwmf(PB_6); +PwmOut lpwmb(PA_7); PwmOut rpwmf(PB_10); PwmOut rpwmb(PC_7); PinName rfront(PB_3); @@ -29,8 +29,8 @@ Serial pc(SERIAL_TX, SERIAL_RX); QEI LeftEncoder(lfront, lback, NC, 4096, QEI::X4_ENCODING); QEI RightEncoder(rfront, rback, NC, 4096, QEI::X4_ENCODING); -const float rbase = 0.14f; -const float lbase = 0.15f; +const float rbase = 0.09f; +const float lbase = 0.085f; const float WALL_IR_L = 0.74f; const float WALL_IR_R = 0.74f; const float WALL_IR_FL = 0.74f;
