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: ExperimentServer MotorShield QEI_pmw
Diff: main.cpp
- Revision:
- 11:4eb579687dda
- Parent:
- 10:a40d180c305c
- Child:
- 12:84a6dcb60422
diff -r a40d180c305c -r 4eb579687dda main.cpp --- a/main.cpp Wed Aug 26 02:44:03 2020 +0000 +++ b/main.cpp Wed Aug 26 02:49:40 2020 +0000 @@ -48,7 +48,7 @@ encoderC.reset(); encoderD.reset(); - motors.motorAWrite(0, 0); //turn motor A off + motors.motorAWrite(0, 0); //turn motor A off, motors.motorAWrite(DUTY CYCLE, DIRECTION), DIRECTION = 0 is forward // Run experiment while( t.read() < 2 ) {