Thomas Burgers / Mbed 2 deprecated ZZ-TheChenneRobot

Dependencies:   Encoder HIDScope MODSERIAL QEI biquadFilter mbed

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. */