upm
0.5.1
Sensor/Actuator repository for libmraa (v0.9.1)
|
API for the YG1006 Flame Sensor. More...
UPM module for the YG1006 flame sensor. It detects a flame or any other light source in the 760-1,100 nm wavelength range.
Public Member Functions | |
YG1006 (int pin) | |
~YG1006 () | |
bool | flameDetected () |
bool flameDetected | ( | ) |
Determines whether a flame has been detected