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: mbed
Revision 1:21ff089ca074, committed 2014-08-06
- Comitter:
- mdelloso
- Date:
- Wed Aug 06 17:27:56 2014 +0000
- Parent:
- 0:bdebfb736149
- Commit message:
- starting
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r bdebfb736149 -r 21ff089ca074 main.cpp
--- a/main.cpp Wed Aug 06 15:56:10 2014 +0000
+++ b/main.cpp Wed Aug 06 17:27:56 2014 +0000
@@ -46,11 +46,11 @@
lightRead=light.read(); //value between 0 - 1
if (manual==0) { //automatic mode
if (lightRead<0.2)
- ledGarden=1; //The ledGarden turn on at night //VA S???
+ ledGarden=1; //The ledGarden turns on at night
else
- ledGarden=0; //Se prende de dia
+ ledGarden=0; //The ledGarden turns off during the day
if (tempRead>30)
- fan=1; //The fan turn on if it's hot
+ fan=1; //The fan turns on if it's hot
else
fan=0;
}