Avatar for donic

donic

Member since May 2019 • Last active May 2019
  • 1 conversations
  • 2 comments

Most recent activity

  • in Other Boards
    Avatar for donic

    The Pico microcontroller is an stm32f4 too, the module should be almost the same, don't you think?
    Any idea where to start to build the module by myself?

  • in Other Boards
    Avatar for donic

    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"});
    
Actions