Software library for the Online Risk project.
No tag detected
Error reading tag info
Display turned ON
Display turned OFF
test
Traceback (most recent call last):
File "demo.py", line 15, in <module>
risk.buzz(10)
File "/home/pi/sp21/Online-Risk/risk.py", line 32, in buzz
print("Buzzer buzzing for " + dur + seconds)
TypeError: can only concatenate str (not "int") to str
I'm guessing you meant str(dur), also "seconds" in quotes.
demo.py
output:I'm guessing you meant
str(dur)
, also"seconds"
in quotes.