projects
/
veternica
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd34a40
)
2to3 gumb.py
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 2 Dec 2023 11:41:40 +0000
(12:41 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 2 Dec 2023 11:41:40 +0000
(12:41 +0100)
gumb.py
patch
|
blob
|
history
diff --git
a/gumb.py
b/gumb.py
index
4aa8574
..
1d1eac4
100755
(executable)
--- a/
gumb.py
+++ b/
gumb.py
@@
-36,7
+36,7
@@
def main():
continue
else:
odplayao = False
- print
"button true"
+ print
("button true")
# the button isn't being pressed, so turn off the green LED
# and turn on the red LED
# GPIO.output(24,False)
@@
-45,7
+45,7
@@
def main():
time.sleep(0.1)
- print
"button pushed"
+ print
("button pushed")
GPIO.cleanup()