Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DHT22 Servo mbed
Fork of Program4_ServoWithTempAndHumidity by
Diff: main.cpp
- 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
