User Manual
119
For C language users:
Step 2: Change directory
cd /home/pi/SunFounder_SensorKit_for_RPi2/C/24_touch_switch/
Step 3: Compile
gcc touch_switch.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 24_touch_switch.py
Now, touch the metal disk, you can see the LED change its colors and "ON" and "OFF"
printed on the screen.










