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 PulseMotor3 by
Revision 0:27fe3b05f1fc, committed 2015-01-04
- Comitter:
- Honmaka
- Date:
- Sun Jan 04 07:55:14 2015 +0000
- Child:
- 1:c533a17dccc0
- Commit message:
- Honmaka PlusMotor Sample
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /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) {
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sun Jan 04 07:55:14 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/4fc01daae5a5 \ No newline at end of file
