test publish
Dependencies: mbed GroveEarbudSensor
Diff: GSRSensor.cpp
- Revision:
- 10:af58557a4d6c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GSRSensor.cpp Mon Apr 11 13:46:08 2016 +0000 @@ -0,0 +1,9 @@ +#include "GSRSensor.h" + +GSRSensor::GSRSensor(AnalogIn *pin){ + input = pin; +} + +float GSRSensor::getGSRValue(){ + return input->read(); +} \ No newline at end of file