brettmclean / pad4pi

Interrupt-based matrix keypad library for Raspberry Pi
GNU Lesser General Public License v3.0
51 stars 19 forks source link

RuntimeError: Conflicting edge detection already enabled for this GPIO channel #12

Closed CentralHarlemAnonymous closed 5 years ago

CentralHarlemAnonymous commented 5 years ago

I try running the sample code and when I get to the line

keypad = factory.create_keypad(keypad=KEYPAD, row_pins=ROW_PINS, col_pins=COL_PINS)

I get the error

RuntimeError: Conflicting edge detection already enabled for this GPIO channel

Other than changing the row and column pins to match my actual wiring, the code is identical to the sample provided with the library. What am I missing here?

CentralHarlemAnonymous commented 5 years ago

Cancel the above; I had assigned the same pin twice.