User Manual
Table Of Contents
VMP502
V. 02 – 25/10/2019 15 ©Velleman nv
Python Programming
6.5 RGB LED
We will gradually increase and decrease the luminance of an LED with PWM.
Required Hardware
• 1 x Raspberry Pi
®
• 1 x breadboard
• 1 x RGB LED
• 3 x 220 Ω resistor
• jumper wires as needed
RGB LEDs emit light in various colours. They package three LEDs of red, green and blue into a transparent or
semi-transparent plastic shell, and have four pins. The three primary colours can be mixed into various colours
by brightness. The LED brightness can be adjusted with PWM. The Raspberry Pi
®
has only one channel for










