Does anyone have an example of changing the LED brightness?
I’m using Matrix OS and am playing with this example
var counter = 0;
setInterval(function(){
matrix.led({
color:'red',
arc:120,
start:0
}).rotate(counter).render();
counter++;
},2);
But I can find any documentation on how to change the brightness.
I’ve tried the .darken option but it seems to not work
Thanks