Too many possibilities for anyone to just guess. The tutorial, a Javascript language syntax issue, understanding functions in general, referencing a function, Time library issue, timing?
It is difficult to explain a process to solve an issue, without a foundation on which to start. As difficult as posting your code might seem, it will be by far the most efficient.
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.
Fri 2019.07.05
Hello @user101594,
Too many possibilities for anyone to just guess. The tutorial, a Javascript language syntax issue, understanding functions in general, referencing a function, Time library issue, timing?
It is difficult to explain a process to solve an issue, without a foundation on which to start. As difficult as posting your code might seem, it will be by far the most efficient.
Please see "Writing an effective forum post"
for a few other items to help us better assist your situation. Also add links to the tutorials that have been attempted.
Lets start with the above referenced 'same function' and what has been attempted so far.