Hmm, playing around with .set(); and passing the LAT into send doesn't seem to be making much of a difference. And I've already moved all the logic from updateRow into the setInterval function so no more gain to be had there :)
Out of interest, what is that's the main issue here? the length of time it take to convert the JS into runtime + execution? or something else?
Wouldn't unraveling updateRow just be the same though? You can only update one row at a time with the bitshifter + led driver compo right?
Also, if I want to make the matrix run off 5v, where would the pullup resistor need go?
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.
Hmm, playing around with
.set();
and passing the LAT into send doesn't seem to be making much of a difference. And I've already moved all the logic from updateRow into the setInterval function so no more gain to be had there :)Out of interest, what is that's the main issue here? the length of time it take to convert the JS into runtime + execution? or something else?
Wouldn't unraveling updateRow just be the same though? You can only update one row at a time with the bitshifter + led driver compo right?
Also, if I want to make the matrix run off 5v, where would the pullup resistor need go?
Matt