YG1006 Class
- 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.
                      
Item Index
Methods
Methods
YG1006
                      
                              
                                  (
                      
                              
                                  Number
                              
                      
                      
                      
                      
                      
                      
                      
                          
                      
                          - 
                                              pin
YG1006 constructor
Parameters:
- 
                                              pinNumberDigital pin to use 
Returns:
                                              Number:
                                  
                              flameDetected
                      
                              ()
                      
                              
                                  Boolean
                              
                      
                      
                      
                      
                      
                      
                      
                          
                      
                          Determines whether a flame has been detected
Returns:
                                              Boolean:
                                          
                              true if a flame or another comparable light source has been detected