Thank you very much for your reply. I appreciate it.
When I started the project, I was using setWatch, but the latency between when I press the button and when I receive the callback was in the order of seconds and made it unusable for my purpose. That is why I moved to checking button state in an interval. Is there a way to reduce the latency of the callback?
Setting NRF.setConnectionInterval(7.5) seems to help a bit, but the error still shows up less frequently than before.
Thanks for the queue idea. I will give that a shot.
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,
Thank you very much for your reply. I appreciate it.
When I started the project, I was using setWatch, but the latency between when I press the button and when I receive the callback was in the order of seconds and made it unusable for my purpose. That is why I moved to checking button state in an interval. Is there a way to reduce the latency of the callback?
Setting NRF.setConnectionInterval(7.5) seems to help a bit, but the error still shows up less frequently than before.
Thanks for the queue idea. I will give that a shot.