• ahah! Yes the IDE was holding on to the connection.

    So now it connects with 1v92. And I am now trying the HID software from your example:

    var kb = require("ble_hid_keyboard");
    NRF.setServices(undefined, { hid : kb.report });
    
    function btnPressed() {
      // Send 'a'
      kb.tap(kb.KEY.A, 0, function() {
        // Followed by capital 'A'
        kb.tap(kb.KEY.A, kb.MODIFY.SHIFT);
      });
    }
    
    // trigger btnPressed whenever the button is pressed
    setWatch(btnPressed, BTN, {edge:"rising",repeat:true,debounce:50})­;
    
    1. Device is connected with 1v92 to the web ide.
    2. run flash code in left side.
    3. upload the HID from you example.
    4. save()
    5. disconnect from Web IDE. !
    6. un-pair
    7. re-pair
    8. press puck button with pc cursor in a text box... nothing happens

    NB the device is not appearing in the list of keyboard devices


    1 Attachment

    • puck_bluetooth.png
About

Avatar for Boydy @Boydy started