Breathalyzer running on the MBED 1768 Platform; EE4427 Group 3 Spring 2018
Dependencies: 4DGL-uLCD-SE mbed
Diff: sensor.cpp
- Revision:
- 0:35f90b280233
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sensor.cpp Mon Apr 23 22:18:27 2018 +0000 @@ -0,0 +1,7 @@ +//Written by Madison Wilkey +#include "sensor.h" +AnalogIn sensorInput(p15); + +float takeReading(){ + return sensorInput.read(); +} \ No newline at end of file