For C language users:
Step 2: Edit and save the code with vim or nano.
(code path: /home/Adeept_Sensor_Kit_for_RPi_C_Code/15_touchBtn/touchBtn.c)
Step 3: Compile
$ sudo gcc touchBtn.c -o touchBtn -lwiringPi
Step 4: Run
$ sudo ./touchBtn
For Python users:
Step 2: Edit and save the code with vim or nano.
(code path: /home/Adeept_Sensor_Kit_for_RPi_Python_Code/15_touchBtn.py)
Step 3: Run
$ sudo python 15_touchBtn.py
Touch the Touch Button Module, and you can see the LED toggle between on and off.