RC Servo Program

Dependencies:   Servo mbed

Fork of ServoProgram by Simon Ford

Files at this revision

API Documentation at this revision

Comitter:
Nydrel
Date:
Wed Feb 14 08:49:04 2018 +0000
Parent:
0:7b3eabfa1a0f
Commit message:
Changed the servo control signal pin to p22 on the mbed

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue May 18 19:40:18 2010 +0000
+++ b/main.cpp	Wed Feb 14 08:49:04 2018 +0000
@@ -1,7 +1,7 @@
 #include "mbed.h"
 #include "Servo.h"
 
-Servo myservo(p21);
+Servo myservo(p22);
 Serial pc(USBTX, USBRX);
 
 int main() {