Sorry for this newbie question, first day playing with this.
Everything is latest. Have EspruinoHub started in systemctl.
I can connect to the raspberrypi EspruinoHub ide, connect to Puck and upload code.
Puck firmware 2v00
Found some code in tutorials and hacked it together. All I want to achieve is to have a button press result in a keyboard type the letter p
After sending the code I disconnect and reconnect
Click on the puck and console says
Uncaught Error: Got BLE error 0x8 (INVALID_STATE)
at line 1 col 104
...0,0,0],function(){a&&a()})})
^
in function "tap" called from line 6 col 36
kb.tap(kb.KEY.P, 0,function(){});
in function called from system
>
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.
Sorry for this newbie question, first day playing with this.
Everything is latest. Have EspruinoHub started in systemctl.
I can connect to the raspberrypi EspruinoHub ide, connect to Puck and upload code.
Puck firmware 2v00
Found some code in tutorials and hacked it together. All I want to achieve is to have a button press result in a keyboard type the letter p
After sending the code I disconnect and reconnect
Click on the puck and console says
If I click the puck again I get
Here is the full code:
Thank you for helping me. I'm totally confused.