You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Ahh. I'll have a look at this today, it may have come up before. It could well be a bug in the module handling that happens for the 'projects' code in the Web IDE.

    For now, I guess you could just pass it in:

    var mymodule = require("mymodule").connect(require("HC-­SR04"), ...)
    
About

Avatar for Gordon @Gordon started