We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 679ca77 commit f5e8154Copy full SHA for f5e8154
1 file changed
src/progressive_automations_python/movement_control.py
@@ -23,8 +23,8 @@ def release_up() -> None:
23
24
25
def press_up() -> None:
26
- """Set UP pin to drive low (button pressed)"""
27
- GPIO.setup(UP_PIN, GPIO.OUT, initial=GPIO.LOW)
+ """Set UP pin to drive high (button pressed)"""
+ GPIO.setup(UP_PIN, GPIO.OUT, initial=GPIO.HIGH)
28
29
30
def release_down() -> None:
@@ -33,8 +33,8 @@ def release_down() -> None:
33
34
35
def press_down() -> None:
36
- """Set DOWN pin to drive low (button pressed)"""
37
- GPIO.setup(DOWN_PIN, GPIO.OUT, initial=GPIO.LOW)
+ """Set DOWN pin to drive high (button pressed)"""
+ GPIO.setup(DOWN_PIN, GPIO.OUT, initial=GPIO.HIGH)
38
39
40
def cleanup_gpio() -> None:
0 commit comments