Class Keypad

java.lang.Object
com.diozero.devices.Keypad

public class Keypad
extends Object

References:

Note, this class should be run with the mmap provider as it configures input pull-up registers, something that cannot be done with the sysfs provider unfortunately. You can of course wire it up with your own pull-up resistors.

  • Field Details

  • Constructor Details

    • Keypad

      public Keypad​(int[] rowGpios, int[] colGpios, char[][] keys)
  • Method Details