Possible to dim shield led?


(Todd Wackford) #1

Is it possible to programmatically dim the led on the thing shield within a sketch?

Why does the question seem silly?

Anyway, is there?

TIA,
twack


(Gray) #2

Do you want to dim it or turn it off? It’s simple to turn it off.

Since the LED is run off of digital pins, I don’t believe you could dim it…though you could make it blink.


(Todd Wackford) #3

I got the on off blinks down.

To be honest I want to use it with a proximity sensor so as I drive into the garage it goes from bright to dim then another color when I’m at the sweet spot. I then have a ST device tile on the shield that shows a car is present or not.

Happy Hacking!
Twack


(Andrew Urman) #4

When setting the LED color it’s a mixture of intensity of red, green, blue on a scale of 0-9. So 1,0,0 is low red, 9,0,0 is high red. You can mix and max RGB intensities to get different colors. How to get certain colors? No clue, I’m red/green colorblind. It’s wicked annoying.

Caution, that LED is just crazy bright at full intensity.