Example program, usingthe Servo library

Dependencies:   mbed Servo

Revision:
1:e69c3331cef7
Parent:
0:7b3eabfa1a0f
diff -r 7b3eabfa1a0f -r e69c3331cef7 main.cpp
--- a/main.cpp	Tue May 18 19:40:18 2010 +0000
+++ b/main.cpp	Tue Nov 17 19:30:45 2020 +0000
@@ -1,7 +1,7 @@
 #include "mbed.h"
 #include "Servo.h"
 
-Servo myservo(p21);
+Servo myservo(D0);
 Serial pc(USBTX, USBRX);
 
 int main() {