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
Revision 6:14000499d474, committed 2016-05-28
- Comitter:
- Maggie17
- Date:
- Sat May 28 09:37:28 2016 +0000
- Parent:
- 5:86adb825bfd2
- Commit message:
- modify
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file | 
--- 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