We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0475037 commit 959d013Copy full SHA for 959d013
README.md
@@ -94,7 +94,7 @@ def runExample():
94
print("\nSparkFun qwiic Keypad Example 1\n")
95
myKeypad = qwiic_keypad.QwiicKeypad()
96
97
- if myKeypad.isConnected() == False:
+ if myKeypad.is_connected() == False:
98
print("The Qwiic Keypad device isn't connected to the system. Please check your connection", \
99
file=sys.stderr)
100
return
@@ -105,8 +105,8 @@ def runExample():
105
while True:
106
107
# necessary for keypad to pull button from stack to readable register
108
- myKeypad.updateFIFO()
109
- button = myKeypad.getButton()
+ myKeypad.update_fifo()
+ button = myKeypad.get_button()
110
111
if button == -1:
112
print("No keypad detected")
0 commit comments