pad4pi
pad4pi copied to clipboard
Interrupt-based matrix keypad library for Raspberry Pi
The current implementation of `Keypad.cleanup()` always calls `GPIO.cleanup()`: https://github.com/brettmclean/pad4pi/blob/0e560a1ab67866cbedf8df9237316765debab2f1/pad4pi/rpi_gpio.py#L165-L168 However, for some applications it may be necessary to still be able to use RPi.GPIO after keypad cleanup, for example if...
This patch should fix issue #16 , by never using HIGH outputs and instead switching pins to tristate for scanning.
I am trying to add more features and improve the performance of this library but I do not understand the repeat feature of your library. Could you explain a little...
Hi I have found that if i enter numbers quickly (4x4 matrix keypad) it sometimes reports the wrong key pressed, (usually the 1st key in the row, but not always)...
I've been using Pad4pi on a 4x5 keypad with no problems for a while. recently I purchased a new 3x4 keypad. I modified my code but some some reason I...
I follwed the instructions The Interpreter ceeps giving me the same answer. Import Error : No module named 'pad4pi' Kann it be bequase it is no hocked up or wrongli...
The problem arises in this piece of code here: ```python3 # Scan columns for pressed key colVal = None if rowVal is not None: for i in range(len(self._col_pins)): GPIO.output(self._col_pins[i], GPIO.HIGH)...
![Capture](https://user-images.githubusercontent.com/46171020/61585008-b45b7180-ab17-11e9-80a5-887caa33ac55.PNG)
`from pad4pi import rpi_gpio #import pad4pi #import RPi.GPIO as rpi_gpio KEYPAD = [ [1,2,3], [4,5,6], [7,8,9], ["*",0,"#"] ] ROW_PINS = [4,14,15,17] # BCM numbering COL_PINS = [18,27,22] # BCM numbering...