Merge pull request #2475 from kattni/cap-touch-script-update

Update cap touch pin script.
This commit is contained in:
Kattni 2023-04-12 14:16:01 -04:00 committed by GitHub
commit 2fbba95105
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ for possible_touch_pin in get_pin_names(): # Get the pin name.
"pulldown" in error_message # If the ValueError is regarding needing a pulldown...
):
print(
"Touch (no pulldown) on:", str(possible_touch_pin).replace("board.", "")
"Touch on:", str(possible_touch_pin).replace("board.", "")
)
else:
print("No touch on:", str(possible_touch_pin).replace("board.", ""))