If I put a flashing LED in the code I have to run it as root because if I don't I get this error.
I had a flashing LED in the code which I have now removed and I do not need to run as sudo so the .csv file is no longer root.
Code:
pi@raspberrypiB:~ $ python w1probes.pyTraceback (most recent call last): File "/home/pi/w1/w1probes.py", line 7, in <module> GPIO.setup(11,GPIO.OUT)RuntimeError: No access to /dev/mem. Try running as root!Statistics: Posted by sandy70 — Mon Mar 24, 2025 12:31 pm