Hello back,
tested: nope, it's not a problem of « double start ».
I have the error whenever I type « python3 MyProg.py »
tested: nope, it's not a problem of « double start ».
I have the error whenever I type « python3 MyProg.py »
Any idea ?File "/var/www/html/scripts/Affichons.py", line 12, in <module>
GPIO.setup(24, GPIO.OUT)
File "/usr/lib/python3/dist-packages/RPi/GPIO/__init__.py", line 704, in setup
initial = _check(lgpio.gpio_read(_chip, gpio))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lgpio.py", line 903, in gpio_read
return _u2i(_lgpio._gpio_read(handle&0xffff, gpio))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lgpio.py", line 458, in _u2i
raise error(error_text(v))
lgpio.error: 'GPIO not allocated'
Statistics: Posted by Patriboom — Fri Nov 29, 2024 9:28 pm