Cute way to interact with small numbers of WS2811/12's #784
Unanswered
espruino-discuss2
asked this question in
Interfacing
Replies: 1 comment
-
Posted at 2015-08-17 by @gfwilliams Nice :) Not sure if it helps, but there's also |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2015-08-17 by DrAzzy
Rather than going with graphics, when you just want to control a small number of LEDs - for example, you want to control the status lights on a control panel with one pin.
I made a little object that provides a simple interface, and also allows the overall brightness to be dimmed (for example, in response to an ambient light level detector) while remembering the state of the lights. It allows updating by pixel, or color by color. The latter makes particular sense, for example, when using the WS2811 with multiple LEDs, rather than an RGB led.
Anyway, I like it for making status leds. That example is a 2 LED long string.
Beta Was this translation helpful? Give feedback.
All reactions