Margreeth de Breij / Mbed 2 deprecated frdm_Motortryout2

Dependencies:   Encoder MODSERIAL mbed HIDScope

Fork of frdm_Motortryout2 by Robert Schulte

Files at this revision

API Documentation at this revision

Comitter:
Margreeth95
Date:
Mon Sep 21 11:29:24 2015 +0000
Parent:
4:69c6cc1247c1
Child:
6:866d461c7be8
Commit message:
Switch 2 directions

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Sep 21 11:27:52 2015 +0000
+++ b/main.cpp	Mon Sep 21 11:29:24 2015 +0000
@@ -34,7 +34,7 @@
                 
                 case 'r':
                  {
-                    motor2direction = -1;
+                    motor2direction = 0;
                     motor2speed = 0.5f;
                     pc.printf("dit werkt ook\n");
                     wait(1);