Israel Hernández Orozco / Mbed 2 deprecated 7_3

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
hdzoisrael
Date:
Wed Nov 28 03:50:00 2018 +0000
Parent:
0:8709fd38c8ee
Commit message:
n; ;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Oct 29 18:32:27 2018 +0000
+++ b/main.cpp	Wed Nov 28 03:50:00 2018 +0000
@@ -3,7 +3,7 @@
 PwmOut  motor(D6);  
 
 int main() {
-    //motor.period_us(20000);
+    motor.period_us(20000);
     while(1) {
         float ancho = pot*1000.0;
         float anchoservo= 2000.0 - ancho;