Package com.diozero.devices
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
-
NO_KEY
public static final char NO_KEY- See Also:
- Constant Field Values
-
-
Constructor Details
-
Keypad
public Keypad(int[] rowGpios, int[] colGpios, char[][] keys)
-
-
Method Details
-
getKeys
-