I found the problem. I was still using console.log() while connected as a HID which caused the puckjs to hang. I need to work out how to re-direct console.log somewhere safe. I have volume up and down working well. I will do a bit more work and post an update.
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.
I found the problem. I was still using console.log() while connected as a HID which caused the puckjs to hang. I need to work out how to re-direct console.log somewhere safe. I have volume up and down working well. I will do a bit more work and post an update.