checkit

Dependencies:   Servo mbed

Files at this revision

API Documentation at this revision

Comitter:
Red_Nova_Six
Date:
Thu Sep 27 19:12:14 2018 +0000
Commit message:
m

Changed in this revision

Servo.lib Show annotated file Show diff for this revision Revisions of this file
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
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