User Manual
Table Of Contents
VMP502
V. 02 – 25/10/2019 14 ©Velleman nv
C Programming
1. Change directory:
cd/home/pi/IDUINO_SuperKit_C_code_for_RaspberryPi/04_PwmLed
2. Compile:
gcc PwmLed.c –o PwmLed –lwiringPi
3. Run:
sudo ./PwmLed
Python Programming
1. Change directory:
cd/home/pi/IDUINO_SuperKit_Python_code_for_RaspberryPi/
2. Run:
sudo python 04_PwmLed.py
Press ENTER and you will see a gradual change of the LED luminance.
Through this experiment, you should have mastered the principle of PWM and how to programme the
Raspberry Pi
®
with PWM. You can apply this technology to DC motor speed regulation in the future.
Programming
C Programming










