Programma om motor 1 aan te sturen

Dependencies:   Encoder MODSERIAL mbed-dsp mbed

Fork of motor1aansturing by BMT M9 Groep01

Revision:
27:fb73c8b5321a
Parent:
26:02170c78ac2f
--- a/main.cpp	Fri Oct 17 11:05:47 2014 +0000
+++ b/main.cpp	Mon Oct 20 07:37:46 2014 +0000
@@ -33,7 +33,7 @@
     
     int toestand = TERUGKEREN; //initial condition
     int EMG = 1;
-    float setspeed = 0, V3=40, V2=30, V1 =20, Vreturn= 15;//V in rad/s
+    float setspeed = 0, V3=40, V2=30, V1 =20, Vreturn= 15;//V in counts/s
     
     Ticker looptimer;
     looptimer.attach(setlooptimerflag,TSAMP);