Hi, sometimes when i want to upload buffer code to puck.js, it stuck in middle of uploading.
I use noble.js, i connect to the puck then convert the code splitted every 19 bytes to write each splitted code to puck.
Sometimes the uploads stop and i cannot reconnect to the puck , i must force reset it to be able to reconnect..
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, sometimes when i want to upload buffer code to puck.js, it stuck in middle of uploading.
I use noble.js, i connect to the puck then convert the code splitted every 19 bytes to write each splitted code to puck.
Sometimes the uploads stop and i cannot reconnect to the puck , i must force reset it to be able to reconnect..
sample code :
i have tested with a delay of 100ms and it change nothing..
when the upload works :
the full javascript code :
Thank You!