Werkend voor onze motor

Dependencies:   Encoder MODSERIAL QEI mbed

Fork of feed_forward_PI_copy by Dion de Greef

Revision:
1:92a60278860a
Parent:
0:331597250051
Child:
2:68de33d10c67
--- a/main.cpp	Tue Oct 03 15:30:08 2017 +0000
+++ b/main.cpp	Tue Oct 03 15:35:26 2017 +0000
@@ -4,7 +4,7 @@
 
 DigitalOut gpo(D0);
 DigitalOut motorDirection(D4);
-DigitalOut motorSpeed(D5);
+PwmOut motorSpeed(D5);
 AnalogIn potMeterIn(A1);
 InterruptIn button1(D3);
 Ticker ticker;