fix: remove print statements
This commit is contained in:
4
main.py
4
main.py
@@ -35,13 +35,9 @@ switch = Debouncer(pin, interval=0.02)
|
|||||||
# Clean up any left over keypresses, sometimes they happen
|
# Clean up any left over keypresses, sometimes they happen
|
||||||
kbd.release_all()
|
kbd.release_all()
|
||||||
|
|
||||||
print("Starting program")
|
|
||||||
print("Waiting for pedal input")
|
|
||||||
while True:
|
while True:
|
||||||
switch.update()
|
switch.update()
|
||||||
if switch.rose:
|
if switch.rose:
|
||||||
print("releasing button")
|
|
||||||
kbd.release(keycodePress)
|
kbd.release(keycodePress)
|
||||||
if switch.fell:
|
if switch.fell:
|
||||||
print("pressing button")
|
|
||||||
kbd.press(keycodePress)
|
kbd.press(keycodePress)
|
||||||
|
|||||||
Reference in New Issue
Block a user