Is there a way to turn off the RGB light in code?
1 Like
Not one accessible through the standard libraries, although you could dig into the firmware to do it. This is definitely something we should add to the backlog for low-power applications. If someone wants to make this function in the firmware, we’ll gladly accept a pull request
1 Like
Hmm, what about adding
void setup()
{ RGB.control(true);
RGB.color(0, 0, 0);
…
}
(haven’t tested, but should work, right ?)
For me RGB.color(25, 0, 0) was a great improvement to my eyes (so I don’t need my sun glasses for debugging any longer )
6 Likes
Looks right to me!
Works like a charm! Thx
2 Likes
Surprisingly that little led consumes little power! I saw ~138ma with it enabled and ~134ma disabled…
It can be quite dazzling. The above workaround works great though.