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 | TOGGLE FULL SIZE
import board
import neopixel
pixels = neopixel.NeoPixel(board.D18, 20) # Raspberry Pi wiring!
pixels[1] = (255, 0, 0)
I tried changing the pixel numbers to 19, but that also gave no results.
Is there something that I am missing?