User Manual

25
Experimental Procedures
Step 1: Build the circuit
For C language users:
Step 2: Change directory
cd /home/pi/Sunfounder_SuperKit_C_code_for_RaspberryPi/02_BtnAndLed/
Step 3: Compile
gcc BtnAndLed.c -o BtnAndLed -lwiringPi
Step 4: Run
sudo ./BtnAndLed
For Python users:
Step 2: Change directory
cd /home/pi/Sunfounder_SuperKit_Python_code_for_RaspberryPi/
Step 3: Run
sudo python 02_btnAndLed.py