In this project, I seek to control a RGB LED to display color combinations.
We can control the brightness of each of the red, green and blue parts of the LED separately, making it possible to mix any color we like. I'm using Python to generate PWM signals on GPIO of Raspberry Pi to control brightness of a RGB LED, with tkinter GUI. Tested on Raspberry Pi 3 running Raspbian Jessie.
note:
A slider is a Tkinter object with which a user can set a value by moving an indicator. Sliders can be vertically or horizontally arranged. A slider is created with the Scale method().
Using the Scale widget creates a graphical object, which allows the user to select a numerical value by moving a knob along a scale of a range of values. The minimum and maximum values can be set as parameters, as well as the resolution.
Comments