tried

Dependencies:   mbed

Fork of adam_try by CHE-HAO CHUANG

Files at this revision

API Documentation at this revision

Comitter:
adam_z
Date:
Tue Jan 12 14:00:38 2016 +0000
Parent:
0:0583c47b5640
Commit message:
already tried

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 0583c47b5640 -r d6e970ba1de1 main.cpp
--- a/main.cpp	Tue Jan 12 13:58:15 2016 +0000
+++ b/main.cpp	Tue Jan 12 14:00:38 2016 +0000
@@ -7,7 +7,7 @@
 int main() {
     
     mypwm.period_ms(10);
-    mypwm.pulsewidth_ms(1);
+    mypwm.pulsewidth_ms(1);//llll
   
     printf("pwm set to %.2f %%\n", mypwm.read() * 100);