ELEC2645 (2015/16) / Mbed 2 deprecated SensorMatic_Project

Dependencies:   N5110-JDB SRF02 SoftPWM-JDB TMP102 mbed

Auto generated API documentation and code listings for SensorMatic_Project

Classes

AverageValues Takes the average over 10 reading from each sensor

Code

main.cpp [code] Program Implementation
main.h [code] Header File containing Defines, Function Prototypes and Global Variables

Namespaces

b_led Object for the K64F On-Board Blue LED - Never used but necessary to turn it off
backward Push Button connected to InterruptIn Pin PTB19 (Used to Return to Main Menu)
controller Potentiometer connected to AnalogIn Pin PTB10 (Used to Select Menu Items)
forward Push Button connected to InterruptIn Pin PTB18 (Various Uses - Menu Selection & Toggling Options...)
g_led Object for the K64F On-Board Green LED - Never used but necessary to turn it off
green_led Green LED connected to DigitalOut Pin PTC7 (Used w/ Distance and Temperature Sensor for Visual Warning)
greenPWM Green LED connected to DigitalOut Pin PTC7 (BUT used with 'SoftPWM' so it can flash periodically)
pc Object to Class for Serial Library
piezo Piezo Buzzer connected to PwmOut Pin PTA2 (Used w/ Distance Sensor for Audible Warning)
r_led Object for the K64F On-Board Red LED - Never used but necessary to turn it off
red_led Red LED connected to DigitalOut Pin PTC9 (Used w/ Distance and Temperature Sensor for Visual Warning)
redPWM Red LED connected to DigitalOut Pin PTC9 (BUT used with 'SoftPWM' so it can flash periodically)
screen Object to Class for Nokia N5110 Library
srf02 Object to Class for SRF02 Distance Sensor
systemTicker Object for a Ticker which keeps the whole system in time
tmp102 Object to Class for TMP102 Temperature Sensor
yellow_led Yellow LED connected to DigitalOut Pin PTC0 (Used w/ Distance and Temperature Sensor for Visual Warning)
yellowPWM Yelow LED connected to DigitalOut Pin PTC0 (BUT used with 'SoftPWM' so it can flash periodically)