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: BMP180 N5110 PowerControl beep mbed
Revision 2:6f7b97e42fce, committed 2015-05-11
- Comitter:
- takis94
- Date:
- Mon May 11 14:10:17 2015 +0000
- Parent:
- 1:d320c79324fe
- Commit message:
- Final Code.
Changed in this revision
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