• Hi Gordon ok I find the good code :

    var kb = require("ble_hid_keyboard");
    NRF.setServices(undefined, { hid : kb.report });
    
    function btnPressed() {
      // Send 'spacebar'
      kb.tap(kb.KEY[" "], 0, function() {
       
      });
    }
    
    // trigger btnPressed whenever the button is pressed
    setWatch(btnPressed, BTN, {edge:"rising",repeat:true,debounce:50})­;
    

    Working on my MAC '' SPACEBAR '' then connect to windows but it don't work on Win10 any tips or comments. Can I program it on Mac and make it work on win10 ?

About

Avatar for user76952 @user76952 started