met pc verbinding en ticker

Dependencies:   mbed

Fork of motur by Robert Geels

Files at this revision

API Documentation at this revision

Comitter:
Joost38H
Date:
Fri Oct 06 09:20:20 2017 +0000
Parent:
2:1b048039e6b5
Commit message:
zonder overbodige regels;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Oct 06 09:02:15 2017 +0000
+++ b/main.cpp	Fri Oct 06 09:20:20 2017 +0000
@@ -70,12 +70,8 @@
 {
     while (true) 
     {
-    //referenceVelocity = GetReferenceVelocity();
-    //motorValue = FeedForwardControl(referenceVelocity);
-    //controlmotor1.attach(MeasureAndControl, 5);
     controlmotor1.attach(MeasureAndControl, 0.01);
     pc.baud(115200);
-    //pc.printf("%.3f" , referenceVelocity);
     wait(0.1f);
     return 0;