Closed adamsr1 closed 2 years ago
Please post the full text of the error message output. It is likely multiple lines of text. Please post all of them.
Fixed the "True" error but I am getting this now and I don't understand it. Please help.
Can't open /dev/mem: Permission denied
Traceback (most recent call last):
File "/home/pi/Desktop/light ring.py", line 37, in
Hi there, for help with running Python, please post to user forums. For example, if its a Raspberry Pi - there's forums at https://forums.raspberrypi.com/ - if its a product purchased from adafruit, there's forums.adafruit.com/ - etc!
When putting this code into python on a 4b, I get an error when I hit run. It says "True is not defined" in the following code
How do I correct this?