You are reading a single comment by @donic and its replies. Click here to read the full conversation.
  • Hi,

    Is possible to use the USB and USB HID modules with the STM32F4 Discovery?

    When I try to use the module I get the following error:

    Code:

    var kb = require("USBKeyboard");
    //var kb = require("https://github.com/espruino/Esp­ruinoDocs/blob/master/modules/USBKeyboar­d.js");
    
    
    setWatch(function() {
      kb.setModifiers(kb.MODIFY.SHIFT, function() {
        kb.type("HELLO WORLD", function() {
          kb.setModifiers(0, function() {
            kb.tap(kb.KEY.ENTER);
          });
        });
      });
    }, BTN, {debounce:100,repeat:true, edge:"rising"});
    

    1 Attachment

    • Espruino_USB_module_error.PNG
About

Avatar for donic @donic started