Could it be possible that it comes from the BLE connection interval?
Yes, after ~1 minute of inactivity Espruino changes connection interval to a lower power mode. But when there's activity it speeds back up to 7.5ms (the fastest interval).
Could it be you're just trying it after a bit of inactivity? Is it better after the first few presses?
You can manually control it with NRF.setConnectionInterval if you need to though.
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.
Yes, after ~1 minute of inactivity Espruino changes connection interval to a lower power mode. But when there's activity it speeds back up to 7.5ms (the fastest interval).
Could it be you're just trying it after a bit of inactivity? Is it better after the first few presses?
You can manually control it with
NRF.setConnectionInterval
if you need to though.