how to control a servo with temp & humidity

Dependencies:   DHT22 Servo mbed

Revision:
6:14000499d474
Parent:
5:86adb825bfd2
--- a/main.cpp	Sat May 28 09:33:39 2016 +0000
+++ b/main.cpp	Sat May 28 09:37:28 2016 +0000
@@ -9,8 +9,8 @@
 
 void fanFunction()
 {
-    // YOUR CODE HERE: read the sensor, set temp and hum variables
-    myservo = !myservo;
+    // YOUR CODE HERE: to reverse myservo between 0 and 1
+    
 }
 
 // this code runs when the microcontroller starts up