That's awesome! Thanks!
I use analogRead on the red LED for Puck.light(), but I never considered that you could actually read a colour value from all 3!
analogRead
Puck.light()
I wonder whether it's worth trying to extend Puck.light or add a new function to read 3 colour channels?
Puck.light
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That's awesome! Thanks!
I use
analogRead
on the red LED forPuck.light()
, but I never considered that you could actually read a colour value from all 3!I wonder whether it's worth trying to extend
Puck.light
or add a new function to read 3 colour channels?