test publish
Dependencies: mbed GroveEarbudSensor
GSRSensor.h@13:879d678baf64, 2016-04-14 (annotated)
- Committer:
- age2pierre
- Date:
- Thu Apr 14 14:01:28 2016 +0000
- Revision:
- 13:879d678baf64
- Parent:
- 10:af58557a4d6c
Added Ticker
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
antoineA | 10:af58557a4d6c | 1 | #ifndef _GSR_SENSOR_H_ |
antoineA | 10:af58557a4d6c | 2 | #define _GSR_SENSOR_H_ |
antoineA | 10:af58557a4d6c | 3 | |
antoineA | 10:af58557a4d6c | 4 | #include <mbed.h> |
antoineA | 10:af58557a4d6c | 5 | |
antoineA | 10:af58557a4d6c | 6 | class GSRSensor{ |
antoineA | 10:af58557a4d6c | 7 | public : |
antoineA | 10:af58557a4d6c | 8 | GSRSensor(AnalogIn *pin); |
antoineA | 10:af58557a4d6c | 9 | float getGSRValue(); |
antoineA | 10:af58557a4d6c | 10 | private : |
antoineA | 10:af58557a4d6c | 11 | AnalogIn *input; |
antoineA | 10:af58557a4d6c | 12 | |
antoineA | 10:af58557a4d6c | 13 | }; |
antoineA | 10:af58557a4d6c | 14 | |
antoineA | 10:af58557a4d6c | 15 | #endif |