Draaiende motor op commando van knopje (WERKEND)

Dependencies:   Encoder MODSERIAL mbed

Fork of P_controller_motor by Bouke Scheltinga

Revision:
7:961dcef17e08
Parent:
6:34b39eb3dcb6
Child:
8:80cb1f5d561e
--- a/main.cpp	Thu Sep 17 11:36:05 2015 +0000
+++ b/main.cpp	Thu Sep 17 12:14:26 2015 +0000
@@ -39,7 +39,7 @@
     
 int main()
     {
-        motorP = motorP_Controller()
+        motorP = motorP_Controller();
         motorP.attach(&motorP_Controller,0.01f); //100Hz
         while(1){}
     }