Example program, usingthe Servo library

Dependencies:   Servo mbed

Fork of ServoProgram by Simon Ford

Files at this revision

API Documentation at this revision

Comitter:
microMartin
Date:
Tue Aug 16 10:18:44 2016 +0000
Parent:
0:7b3eabfa1a0f
Commit message:
ServoTest

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
diff -r 7b3eabfa1a0f -r cabe6efaad85 main.cpp
--- a/main.cpp	Tue May 18 19:40:18 2010 +0000
+++ b/main.cpp	Tue Aug 16 10:18:44 2016 +0000
@@ -1,7 +1,7 @@
 #include "mbed.h"
 #include "Servo.h"
 
-Servo myservo(p21);
+Servo myservo(D9);
 Serial pc(USBTX, USBRX);
 
 int main() {
diff -r 7b3eabfa1a0f -r cabe6efaad85 mbed.bld
--- a/mbed.bld	Tue May 18 19:40:18 2010 +0000
+++ b/mbed.bld	Tue Aug 16 10:18:44 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/e6be4cd80aad
+http://mbed.org/users/mbed_official/code/mbed/builds/6c34061e7c34
\ No newline at end of file