Hi folks. I’m having a bit of trouble getting the GPIO pins on my display-o-tron hat to do anything.
I’m just trying to do a simple LED blink using the standard RPi.GPIO python library example, but nothing seems to be output on any of the hat GPIO pins labelled 5, 6, 13, 19 or 26. (I put a multimeter on each one, there’s no change in voltage)
The hat is on a rpi3b, if that makes any difference, and works fine in itself using the example python scripts provided. The gnd & 3.3/5v pins are also fine.
Sorry, this can be ignored/closed now. I needed to power down the rpi rather than rebooting it to reset the pins, and the declared pin is now working.
Thanks, folks.
(the code was literally the example GPIO on/off below) import RPi.GPIO as GPIO from time import sleep GPIO.setmode(GPIO.BCM) GPIO.setup(26, GPIO.OUT, initial=GPIO.LOW) while True: GPIO.output(26, GPIO.HIGH) sleep(1) GPIO.output(26, GPIO.LOW) sleep(1)