tffx
Posts: 3
Joined: Tue Nov 21, 2017 4:11 pm

Blinkt RGB

Tue Dec 26, 2017 9:56 pm

Running the examples in pimoroni blinkt
Running rgb.py

It asks for:
Usage: <r>, <g>, <b>

What do you type to get a colour?
I assume it’s a number value.

https://github.com/pimoroni/blinkt/blob ... les/rgb.py

Thanks

beta-tester
Posts: 1388
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: Blinkt RGB

Tue Dec 26, 2017 10:42 pm

https://pinout.xyz/pinout/blinkt#

yes a value in a range of 0..255 per component.

e.g. for white:

Code: Select all

python rgb.py 255 255 255
{ I only give negative feedback }
RPi B (256MB), B (512MB), B+, ZeroW; 2B; 3B, 3B+; 4B (4GB)

Return to “Beginners”