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: Encoder HIDScope MODSERIAL QEI biquadFilter mbed
Diff: main.cpp
- Revision:
- 6:8a62f76a1f68
- Parent:
- 5:8fb74a22fe3c
- Child:
- 7:ddd7fb357786
--- a/main.cpp Mon Oct 05 19:13:14 2015 +0000 +++ b/main.cpp Mon Oct 05 19:14:19 2015 +0000 @@ -57,8 +57,7 @@ if (button.read() < 0.5) { //if button pressed motordir = 0; // zero is clockwise (front view) pwm_motor = 0.5f; // motorspeed - pc.printf("positie = %d \r\n", motor1.getPulses()); - } + pc.printf("positie = %d \r\n", motor1.getPulses()); } else { /* Wait until looptimer flag is true. */