More information about my environment:
And I also tried the following python script (taken from a Tom's Hardware article), which uses a different python library, but it also did nothing to the GPIO:
Code:
pi@gpi:~ $ dpkg-query -f '${binary:Package}\n' -W | grep gpiogpiodlibgpiod2:armhfliblgpio1:armhflibpigpio-devlibpigpio1libpigpiod-if-devlibpigpiod-if1libpigpiod-if2-1pigpiopigpio-toolspigpiodpython3-gpiozeropython3-lgpiopython3-libgpiod:armhfpython3-pigpiopython3-rpi-lgpioraspi-gpiorpi.gpio-common:armhf
Code:
import gpiodimport timeGPIO_PIN = 24chip = gpiod.Chip('gpiochip0')line = chip.get_line(GPIO_PIN)line.request(consumer="LED", type=gpiod.LINE_REQ_DIR_OUT)try: line.set_value(1) time.sleep(2) line.set_value(0)finally: line.release()
Statistics: Posted by Hobbieman — Wed May 15, 2024 11:15 pm