It is nrf52840 dongle, enabled neopixel in the build and the source and it still works
let run=true;
function handleNextFrame () {
let d1,d2,d3,d = Date();
computeDiffusion();d1=Date().ms-d.ms;d=Date();
computeHeating();d2=Date().ms-d.ms;d=Date();
prepareDisplay();d3=Date().ms-d.ms;d=Date();
print(d1,d2,d3);
/**** show display ****/
Neopixel.write(D11,Display);
/**** wait for next frame and proceed ****/
if (run) setTimeout(handleNextFrame,10);
}
/**** start automatically ****/
setTimeout(handleNextFrame,1000);
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.
It is nrf52840 dongle, enabled neopixel in the build and the source and it still works
output