I have the 74AHCT125 connected to GPIO 18. This is powered by the 5V of the Pis GPIO.
The needed 12V are from an external power supply. The grounds are all connected.
When I set GPIO 18 to high, I get the needed 5V, so that part is working.
But when I connect the NeoPixel and run this simple code, nothing happens.
Code: Select all
import board
import neopixel
pixels = neopixel.NeoPixel(board.D18, 20) # Raspberry Pi wiring!
pixels[1] = (255, 0, 0)
Is there something that I am missing?