Example program, usingthe Servo library

Dependencies:   mbed Servo

Revision:
1:e69c3331cef7
Parent:
0:7b3eabfa1a0f
--- 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() {