ITI "DallaChiesa" 2019 / Mbed 2 deprecated STMNucleoF401RE_ExampleCode_09_DCmotor_S

Dependencies:   mbed

Revision:
3:aecdaed3e772
Parent:
2:5a81778c8f8b
Child:
4:b69c993bb0e7
diff -r 5a81778c8f8b -r aecdaed3e772 main.cpp
--- a/main.cpp	Mon Nov 02 14:02:13 2015 +0000
+++ b/main.cpp	Mon Feb 29 14:52:53 2016 +0000
@@ -29,9 +29,9 @@
     
     //Set pwm signal period: The period needed to control the motor in the servo datasheet
     mypwm.period_ms(10); 
-    //mypwm.pulsewidth(0.01); // 100%
+    mypwm.pulsewidth(0.01); // 100%
     //mypwm.pulsewidth(0.005); // 50%
-    mypwm.pulsewidth(0.002); // 20%
+    //mypwm.pulsewidth(0.002); // 20%
   
     while(1) {;}
 }
\ No newline at end of file