pyupm_yg1006 module

class pyupm_yg1006.YG1006(pin)[source]

Bases: object

API for the YG1006 Flame Sensor.

ID: yg1006

Name: Flame Sensor

Other Names: Grove Flame Sensor

Category: light

Manufacturer: seeed

Link:http://www.seeedstudio.com/wiki/Grove_-_Flame_Sensor

Connection: gpio

Kit: hak UPM module for the YG1006 flame sensor. It detects a flame or any other light source in the 760-1,100 nm wavelength range.

C++ includes: yg1006.hpp

flameDetected()[source]

bool flameDetected()

Determines whether a flame has been detected

true if a flame or another comparable light source has been detected