Hi Gordon,
many thanks for the support.
The Nucleo board I'm using for this experiment is a C-03 board (from the discussion you have linked, it seems to be a "last generation" one)
Here is the result of the same test described in the post you reported.
The steps are:
1) press the USER button and start stopwatch measure (60 sec)
2) press the button again (when about 60 seconds are passed as indicated by the stopwatch)
_____ _
| __|___ ___ ___ _ _|_|___ ___
| __|_ -| . | _| | | | | . |
|_____|___| _|_| |___|_|_|_|___|
|_| http://espruino.com
1v93 Copyright 2016 G.Williams
Espruino is Open Source. Our work is supported
only by sales of official boards and donations:
http://espruino.com/Donate
>setWatch(function(e) { console.log(getTime());
:console.log(e.time - e.lastTime); }, BTN, { repeat:true, edge:'falling', debounce:10});
=1
1656.09075108333 // step 1)
NaN
1716.41545185714 // step 2)
60.15261686904
>
The difference between the two presses of the USER button is about 60 sec confirming a good accuracy of the internal timer / oscillator of the board.
Let me know if the test is OK for you .
Something strange happens when I pass from the device search (which returns the correct sensor serial) to the device selection on the 1-Wire line...
Do you have any other suggestions?
Thanks in advance.
PS: I also have a Nucleo F401RE Board C0-2 (still working), I try to repeat the experiments with the latter (to see if there are differences)
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.
Hi Gordon,
many thanks for the support.
The Nucleo board I'm using for this experiment is a C-03 board (from the discussion you have linked, it seems to be a "last generation" one)
Here is the result of the same test described in the post you reported.
The steps are:
1) press the USER button and start stopwatch measure (60 sec)
2) press the button again (when about 60 seconds are passed as indicated by the stopwatch)
The difference between the two presses of the USER button is about 60 sec confirming a good accuracy of the internal timer / oscillator of the board.
Let me know if the test is OK for you .
Something strange happens when I pass from the device search (which returns the correct sensor serial) to the device selection on the 1-Wire line...
Do you have any other suggestions?
Thanks in advance.
PS: I also have a Nucleo F401RE Board C0-2 (still working), I try to repeat the experiments with the latter (to see if there are differences)