(with embedded Math.sin() and onTimer() function) sequence rapidly?
re: 'I've tried using Arduino for it and it worked perfectly.'
Would you please post a video of that which 'worked perfectly' and the corresponding Arduino source code, so that we may see what visual effect that is desired?
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.
Sun 2019.04.14
@sebafudi if you are still experiencing a delay as shown in the video, then I suggest we start with the basics.
Please post the results of
process.env
Please post the entire code block as it is right now, as it appears some edits have been made to the tutorial examples.
What was the run time result of coding the example @Gordon provided in #2 above?
Does the second full example at:
(with embedded
Math.sin()
andonTimer()
function) sequence rapidly?Would you please post a video of that which 'worked perfectly' and the corresponding Arduino source code, so that we may see what visual effect that is desired?