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 mbed
Auto generated API documentation and code listings for WeatherStation
State | A structure, contains the output, titles and nextstate data |
Code
Barometer.cpp [code] | Member functions implementations |
Barometer.h [code] | Header file containing member functions and variables |
Namespaces
bmp180 |
A I2C instance to interact with the BMP sensor
SDA, SCL |
button1 | An Interrupt on digital pushbutton1 input p16 |
button2 | An Interrupt on digital pushbutton2 input p17 |
button3 | An Interrupt on digital pushbutton3 input p15 |
button4 | An Interrupt on digital pushbutton4 input p18 |
buzzer | A PwmOut interface is used to control the frequency and mark-space ratio of a buzzer pulse train |
dataLoggerTimer | Ticker object for the data logger functions |
debounce | Create a debounce timer object to implement a debounce counter to avoid multiple interrupts |
greenLED | A PwmOut interface is used to control the frequency and mark-space ratio of a led (The green LED) |
lcd |
A serial data protocol to operate with a master/slave relationship to interact with the lcd
VCC,SCE,RST,D/C,MOSI,SCLK,LED |
leds | GPIO bus output for status LEDs |
local | A local file system declared to store data files |
powerSaverTimeout | Create a timeout object for the poweerSaver function |
redLED | A PwmOut interface is used to control the frequency and mark-space ratio of a led (The red LED) |
serial | A USB Virtual Serial Port to print out messages to a host PC terminal |
timer | Create ticker object for temperature and pressure readings |
yellowLED | A PwmOut interface is used to control the frequency and mark-space ratio of a led (The yellow LED) |