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.
Fork of PulseMotor2 by
Diff: main.cpp
- Revision:
- 0:27fe3b05f1fc
- Child:
- 1:c533a17dccc0
diff -r 000000000000 -r 27fe3b05f1fc main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Sun Jan 04 07:55:14 2015 +0000
@@ -0,0 +1,10 @@
+#include "mbed.h"
+
+PwmOut PulseMotor(p21);
+
+int main() {
+ PulseMotor.period_us(83140);
+ PulseMotor.pulsewidth_us(83140/2);
+ while(1) {
+ }
+}
