User Manual

107
For C language users:
Step 2: Change directory
cd /home/pi/SunFounder_SensorKit_for_RPi2/C/21_flame_sensor/
Step 3: Compile
gcc flame_sensor.c -lwiringPi
Step 4: Run
sudo ./a.out
For Python users:
Step 2: Change directory
cd /home/pi/SunFounder_SensorKit_for_RPi2/Python/
Step 3: Run
sudo python 21_flame_sensor.py
Now, ignite a lighter near the sensor, within the range of 80cm, and "Fire!" will be displayed
on the screen. If you put out the lighter or just move the flames away from the flame sensor,
"Safe~" will be displayed then.