Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 3:aecdaed3e772
- Parent:
- 2:5a81778c8f8b
- Child:
- 4:b69c993bb0e7
--- 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