upm
1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
|
Go to the source code of this file.
Data Structures | |
struct | _yg1006_context |
Functions | |
yg1006_context | yg1006_init (unsigned int pin) |
void | yg1006_close (yg1006_context dev) |
bool | yg1006_flame_detected (const yg1006_context dev) |
Typedefs | |
typedef struct _yg1006_context * | yg1006_context |
yg1006_context yg1006_init | ( | unsigned int | pin | ) |
YG1006 initializer
pin | Digital pin to use |
void yg1006_close | ( | yg1006_context | dev | ) |
YG1006 close function
bool yg1006_flame_detected | ( | const yg1006_context | dev | ) |
Determines whether a flame has been detected
typedef struct _yg1006_context * yg1006_context |
Device context