Hmm... That is particularly far out - I wouldn't have thought the oscillator would be that bad!
You're doing setWatch(... {repeat:true,edge:"falling"}) ? I just wonder if it's reporting back the gap length, or something dumb.
setWatch(... {repeat:true,edge:"falling"})
Depending on the signal, it could also be reporting differently because it'll be running with 3.3v logic levels, and Arduino with 5v ones.
Might be interesting to try the code I posted above though (or similar)? Just to get an idea of how far off the oscillator really is.
@Gordon started
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... That is particularly far out - I wouldn't have thought the oscillator would be that bad!
You're doing
setWatch(... {repeat:true,edge:"falling"})
? I just wonder if it's reporting back the gap length, or something dumb.Depending on the signal, it could also be reporting differently because it'll be running with 3.3v logic levels, and Arduino with 5v ones.
Might be interesting to try the code I posted above though (or similar)? Just to get an idea of how far off the oscillator really is.