Hello, this is my first time working with the IO Pi expansion board and I am having a little trouble understanding the steps needed to run neopixel leds off of the expansion board.
Raspberry Pi Zero, IO Pi expansion board, and neopixel leds
Software Libraries - Python:
board, digitalio, ABElectronics IOPi and neopixel
This is an example of how to initialize the neopixel:
# Configure the setup
PIXEL_PIN = board.D1 # pin that the NeoPixel is connected to
ORDER = neopixel.RGB # pixel color channel order
COLOR = (100, 50, 150) # color to blink
CLEAR = (0, 0, 0) # clear (or second color)
DELAY = 0.25 # blink rate in seconds
# Create the NeoPixel object
pixel = neopixel.NeoPixel(PIXEL_PIN, 1, pixel_order=ORDER)
board.D1 being digital pin 1 from the raspberry pis gpio. How am I supposed to assign a pin from the IO Pi board to the pixel?