Thanks - so it'll be related to the nRF52 I guess.
I think it's less likely to be a BLE issue, because the entire line is executed only when you hit enter - so in your example - especially var dt = new Date();setTimeout(function(){console.log(new Date() - dt);},100); - the UART shouldn't be doing anything while code is running.
I guess it could be related to the 'Utility Timer' somehow - that is platform-specific and may have some issues
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.
Thanks - so it'll be related to the nRF52 I guess.
I think it's less likely to be a BLE issue, because the entire line is executed only when you hit
enter
- so in your example - especiallyvar dt = new Date();setTimeout(function(){console.log(new Date() - dt);},100);
- the UART shouldn't be doing anything while code is running.I guess it could be related to the 'Utility Timer' somehow - that is platform-specific and may have some issues