• Hi,

    There are a few ways to go from Puck.js to Node.js. The easy one is just to use the HID support to get it to act like a key on the keyboard is physically pressed and detect that - but I think you might have tried that already?

    The other nice method is to use advertising - Puck.js will send advertising data with information about the button press, and you just need to receive that.

    @knolleary posted up his code for that here that's really nice: http://forum.espruino.com/conversations/­298279/#13404185

    And I'd advise that you try using that to get started - it provides a really useful way to send arbitrary data.

About

Avatar for Gordon @Gordon started