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: N5110 SRF02 TMP102 mbed
Auto generated API documentation and code listings for Year2SensorProject
| main.cpp [code] | Program implementation |
| main.h [code] | Header file containing functions prototypes, defines and global variables |
Namespaces
| blue_led | Blue LED on the K64F |
| buttonsDebounce | Button Debounce ticker that will periodically call everytime a button has been pressed and will prevent multiple inputs from being recognised |
| Buzzer | PWM controlled buzzer that serves as sound alert |
| green_led | Green LED on the K64F |
| LCD | LCD screen outputs |
| Lower_Button | Interrupt button (bottom button) |
| Potentiometer | An analogue input |
| potTicker | Potetiometer ticker that will periodically call to check the position of the potentiometer |
| red_led | Red LED on the K64F |
| Screens_LED | Onboard LED on the nokia N5110 screen |
| sensorTicker | Sensor ticker that will periodically call for distance and temperature measurements |
| serial | Output serial for USB communication (debugging) |
| SRF02 | Ultra sonic distance sensor I2C mode SDA and SCL clock lines (no pull-up resitors required) |
| sw2 | Sw2 on the K64F |
| sw3 | Sw3 on the K64F |
| TMP102 | Temperature sensor I2C mode SDA and SCL clock lines (no pull-up resitors required) |
| Upper_Button | Interrupt button (top button) |
| Warning_LED | LED that will warn the user |