User Manual

34
Step 3: Compile
gcc beep.c -o beep -lwiringPi
Step 4: Run
sudo ./beep
For Python users:
Step 2: Change directory
cd /home/pi/Sunfounder_SuperKit_Python_code_for_RaspberryPi/
Step 3: Run
sudo python 06_beep.py
Now, you should hear the buzzer make sounds.
Further Exploration
If you have a passive buzzer in hand, you can replace the active buzzer with it. Now you
can make a buzzer sound like “do re mi fa so la si do” with just some basic knowledge of
programming. Give a try!