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.
Revision 0:8b7b3638fb39, committed 2018-03-13
- Comitter:
- cristian_1207
- Date:
- Tue Mar 13 22:05:23 2018 +0000
- Commit message:
- Programa Calibracion Servos
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 Tue Mar 13 22:05:23 2018 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+PwmOut myservo1(PB_10);
+DigitalOut myled(LED1);
+int main() {
+ myservo1.period_ms(20);
+ int cw=1;
+ int dpulse=500;
+ myservo1.pulsewidth_us(dpulse);
+ while(1) {
+ myled = 1;
+ myservo1.pulsewidth_us(dpulse);
+ wait(1);}
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Mar 13 22:05:23 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/aa5281ff4a02 \ No newline at end of file