zeRGBa
zeRGBa is a controller widget for picking colors by mixing red, green, and blue. Each basic color ranges from 0
to 255
. The RGB color system constructs all the colors from the combination of the red, green and blue. The red, green, and blue use eight bits each, which have integer values from 0
to 255
. This makes 256*256*256=16,777,216 possible colors.
The zeRGBa widget uses three pins on your hardware (Raspberry Pi) for each color channel: red, green, and blue.
Using digital pins
In split mode, the zeRGBa widget uses three pins on your hardware for each basic color. The pins should be capable of PWM. Unfortunately, the Raspberry Pi has a single pin that is GPIO 18 capable with PWM, but you will require two more PWM pins. Therefore, you can't use the zeRGBa widget with Raspberry Pi digital pins.
Using virtual pins
In merge mode, the zeRGBa widget writes a single message to the virtual pin, which consists of an array of values. As an example, if you have a zeRGBa widget connected to the...