Ramon Waninge / Mbed 2 deprecated Milestone1

Dependencies:   FastPWM mbed QEI biquadFilter HIDScope MODSERIAL

Revision:
2:d8a552d1d33a
Parent:
1:e40e981acbf1
Child:
3:d39285fdd103
diff -r e40e981acbf1 -r d8a552d1d33a main.cpp
--- a/main.cpp	Tue Sep 25 14:08:24 2018 +0000
+++ b/main.cpp	Tue Sep 25 14:08:49 2018 +0000
@@ -4,18 +4,18 @@
 
 Ticker motor;
 
+Ticker motor;
 FastPWM pin5(D5);
-DigitalOut pin4(D4);
-float u =0.7f;
+AnalogOut pot1(pot1);
+AnalogOut pot2(pot2);
+float u  = pot1 - pot2;
+
 
 
 int main(){
    
    pin5.period_us(60);
-   while (true){
-       pin4 = 1;
-       pin5 = u;
-   }
+