VMP502
V. 02
–
25/10/2019
20
©Velleman nv
Experiment
C Programming
1.
Change directory:
cd/home/pi/IDUINO_SuperKit_C_code_for_RaspberryPi/06_Beep/
2.
Compile:
gcc beep.c
–
o beep
–
lwiringPi
3.
Run:
sudo ./beep
Python Programming
1.
Change directory:
cd/home/pi/IDUINO_SuperKit_Python_code_for_RaspberryPi/
2.
Run:
sudo python 06_beep.py
You should the buzzer make a sound.
Using a passive buzzer, you can make it sound “do re mi fa
sol la si do” with some basic programming
knowledge.
Содержание VMP502
Страница 1: ...VMP502 BASIC LEARNING KIT FOR RASPBERRY PI USER MANUAL...
Страница 8: ...VMP502 V 02 25 10 2019 8 Velleman nv Programming C Programming Python Programming...
Страница 11: ...VMP502 V 02 25 10 2019 11 Velleman nv Programming C Programming...
Страница 17: ...VMP502 V 02 25 10 2019 17 Velleman nv Programming C Programming...
Страница 18: ...VMP502 V 02 25 10 2019 18 Velleman nv Python Programming...
Страница 21: ...VMP502 V 02 25 10 2019 21 Velleman nv Programming C Programming Python Programming...
Страница 27: ...VMP502 V 02 25 10 2019 27 Velleman nv Programming C Programming Python Programming...
Страница 30: ...VMP502 V 02 25 10 2019 30 Velleman nv...
Страница 31: ...VMP502 V 02 25 10 2019 31 Velleman nv Python Programming...
Страница 32: ...VMP502 V 02 25 10 2019 32 Velleman nv...
Страница 36: ...VMP502 V 02 25 10 2019 36 Velleman nv Python Programming...
Страница 40: ...VMP502 V 02 25 10 2019 40 Velleman nv...
Страница 41: ...VMP502 V 02 25 10 2019 41 Velleman nv Python Programming...
Страница 44: ...VMP502 V 02 25 10 2019 44 Velleman nv...
Страница 45: ...VMP502 V 02 25 10 2019 45 Velleman nv Python Programming...
Страница 46: ...VMP502 V 02 25 10 2019 46 Velleman nv...
Страница 47: ...VMP502 V 02 25 10 2019 47 Velleman nv...
Страница 48: ...VMP502 V 02 25 10 2019 48 Velleman nv...
Страница 49: ...VMP502 V 02 25 10 2019 49 Velleman nv...