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: 1237
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 Model B (rev1, 256MB) & B (rev2, 512MB) & B+, RPi2B, RPi3B, RPi3B+, RPiZeroW, ...

Return to “Beginners”