If you submit a peripheral idea and it's added, your name will be credited in
- kyahne (KeldonSlayer) - Smart Light
Smart Light
.set(<R as number 0-255>, <G as number 0-255>, <B as number 0-255>, <brightness* as number 0-255>)
.set(<R as number 0-255>, <G as number 0-255>, <B as number 0-255>, <brightness* as number 0-255>)
Looks nice. But I would suggest using 0-255 instead of 0-1.0
the advantage off 0-255 is programmers can increment through the light colours and quickly know how many settings the light can support.
scaling your value to fit within the peripheral is something everyone will likely have to do in any situation
I'll second 0-255 as an option.
what about different blocks with different looks? Maybe with a frame at the outsides (maybe also with adjustable colour)? Just to give more fancy looks. Maybe different forms?
I like it, nice work…
Zag