znrobotics 智能工场 / Mbed 2 deprecated Seeed_Arch_link_ServoWithTempAndHumidity

Dependencies:   DHT22 Servo mbed

Fork of Program4_ServoWithTempAndHumidity by Robotics Kit Workshop

Revision:
4:c778b9ed6508
Parent:
3:98645a154332
Child:
5:86adb825bfd2
--- a/main.cpp	Sat May 28 06:37:35 2016 +0000
+++ b/main.cpp	Sat May 28 06:45:17 2016 +0000
@@ -13,7 +13,7 @@
 #include "DHT22.h"  // library for the Temp&Humidity sensor
 
 DigitalOut myled(LED1);  // used as an output for the sensor
-Servo myservo(p4);       // p4 works, using other pins is possible too
+Servo myservo(p10);       // p10 works, using other pins is possible too
 DHT22 sensor(p6);        // the pin of the connected grove port
 Serial pc(USBTX, USBRX); // serial TX & RX