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

    You should be able to do:

    var HD44780 = require("HD44780").HD44780;
    
    connectSPI = function(spi, cs) {
      return new HD44780(function(x, c) {
        // ...
      });
    };
    

    That'll work even without touching the module - but if you get something working it'd be great if you could contribute your code so I can stick it in the main one :)

About

Avatar for Gordon @Gordon started