Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Keypad Library with pulldown resisters?

  1. #1
    Junior Member
    Join Date
    Jun 2018

    Keypad Library with pulldown resisters?

    I'm working in a project midifying an electronic organ for vpo software. The existing hardware is setup in a 12x16 diode matrix with active-high signals.

    I have a couple questions:
    1. Does the Teensy 3.6 include built-in pulldown resisters? My research on-line has been inconclusive. If it does, could they be implemented with a simple pinMode([pin], INPUT_PULLDOWN);?

    2. Can the the Keypad library be configured to us active-high? Or alternatively, is there a similar library that can?


  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Yes and No.

    Yes, Teensy 3.6 does have INPUT_PULLDOWN mode.

    No, the Keypad library automatically uses INPUT_PULLUP internally. It configures the pins for you. Other than editing the library code, the way it works is fixed and does not have any option to use the opposite polarity signals.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts