Panayiotis Rodosthenous / Mbed 2 deprecated Weather_Station

Dependencies:   BMP180 N5110 PowerControl beep mbed

Files at this revision

API Documentation at this revision

Comitter:
takis94
Date:
Mon May 11 14:10:17 2015 +0000
Parent:
1:d320c79324fe
Commit message:
Final Code.

Changed in this revision

BMP180.lib Show annotated file Show diff for this revision Revisions of this file
N5110.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d320c79324fe -r 6f7b97e42fce BMP180.lib
--- a/BMP180.lib	Sun May 10 22:37:53 2015 +0000
+++ b/BMP180.lib	Mon May 11 14:10:17 2015 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/users/eencae/code/BMP180/#9612c441a5a0
+http://developer.mbed.org/users/eencae/code/BMP180/#0e92710a46f9
diff -r d320c79324fe -r 6f7b97e42fce N5110.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/N5110.lib	Mon May 11 14:10:17 2015 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/eencae/code/N5110/#ba8addc061ea
diff -r d320c79324fe -r 6f7b97e42fce main.cpp
--- a/main.cpp	Sun May 10 22:37:53 2015 +0000
+++ b/main.cpp	Mon May 11 14:10:17 2015 +0000
@@ -675,6 +675,7 @@
 
     lcd.clear();    //clear display
     lcd.refresh();  //refresh display
+    buzzer.beep(1000,0.5);  //beep the buzzer 
     lcd.printString("WeatherStation",1,1);  //print string
     lcd.printString("      by",1,2);    //print string
     lcd.printString(" Panagiotis",1,3); //print string
@@ -685,7 +686,7 @@
     wait(3);    //3 sec delay
     lcd.clear();    //clear display
     lcd.refresh();  //refresh display
-    
+    buzzer.beep(1000,0.5);  //beep the buzzer 
     lcd.printString("  University",1,1);  //print string
     lcd.printString("      of",1,2);    //print string
     lcd.printString("     Leeds",1,3); //print string
@@ -791,7 +792,7 @@
         } else red = 0; //turn off the LED
 
         // Set Brightness
-        lcd.setBrightness(ain/3.2); //set brightness according to the pot voltage
+        lcd.setBrightness(ain/3.3); //set brightness according to the pot voltage
         
         print();    //call print function