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 cd3dde4 commit be794b8Copy full SHA for be794b8
examples/charlcd_keypad_simpletest.py
@@ -21,19 +21,19 @@
21
print("Left!")
22
lcd.message = "Left!"
23
24
- if lcd.up_button:
+ elif lcd.up_button:
25
print("Up!")
26
lcd.message = "Up!"
27
28
- if lcd.down_button:
+ elif lcd.down_button:
29
print("Down!")
30
lcd.message = "Down!"
31
32
- if lcd.right_button:
+ elif lcd.right_button:
33
print("Right!")
34
lcd.message = "Right!"
35
36
- if lcd.select_button:
+ elif lcd.select_button:
37
print("Select!")
38
lcd.message = "Select!"
39
0 commit comments