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:5ea7adc7e9cf, committed 2018-09-27
- Comitter:
- Red_Nova_Six
- Date:
- Thu Sep 27 19:12:14 2018 +0000
- Commit message:
- m
Changed in this revision
diff -r 000000000000 -r 5ea7adc7e9cf Servo.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Servo.lib Thu Sep 27 19:12:14 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/simon/code/Servo/#36b69a7ced07
diff -r 000000000000 -r 5ea7adc7e9cf main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu Sep 27 19:12:14 2018 +0000
@@ -0,0 +1,24 @@
+#include "mbed.h"
+#include "Servo.h"
+
+Servo myservo1(p21);
+Servo myservo2(p22);
+
+int main()
+{
+myservo1.calibrate(0.0009,90);
+myservo2.calibrate(0.0009,90);
+ while(1)
+ {
+ myservo1=1;
+ myservo2=0;
+ wait(5);
+ myservo1=0;
+ myservo2=1;
+ wait(5);
+
+
+ }
+
+
+}
diff -r 000000000000 -r 5ea7adc7e9cf mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Sep 27 19:12:14 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/e95d10626187 \ No newline at end of file