Instantly share code, notes, and snippets.
Line 10: if buttonPin.value():
if buttonPin.value():
any content other than 0 and False is Truth in Python
0
False
Truth
Sorry, something went wrong.
Line 10:
if buttonPin.value():
any content other than
0
andFalse
isTruth
in Python