You are reading a single comment by @chris.willing and its replies. Click here to read the full conversation.
  • I'm trying to use the keypad module without success. The recommended:

    require("KeyPad").connect([B2,B3,B4,B5],[B6,B7,B8,B9], function(e) {
      print("123A456B789C*0#D"[e]);
    });
    

    is never called back.

    I also tried

    var keypad = require("KeyPad").connect([B2,B3,B4,B5],[B6,B7,B8,B9]);
    

    and printed output of keypad.read() in a while loop. This produced output like 38 28 08 312 212 012 etc. depending on the key pressed.

    I tested the same keypad using the same pin connections on the same device in an arduino sketch where it worked perfectly.

    Anyway, since there was at least some output, I was going to start hacking on the source code but in the meantime, is anyone using a keypad successfully?

    Thanks for any pointers ...

About