Hardware:
Raspberry Pi Zero, IO Pi expansion board, and neopixel leds
Software Libraries - Python:
board, digitalio, ABElectronics IOPi and neopixel
https://github.com/abelectronicsuk/ABElectronics_Python_Libraries/blob/master/IOPi/IOPi.py
https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel/blob/master/neopixel.py
This is an example of how to initialize the neopixel:
# Configure the setupPIXEL_PIN = board.D1 # pin that the NeoPixel is connected toORDER = neopixel.RGB # pixel color channel orderCOLOR = (100, 50, 150) # color to blinkCLEAR = (0, 0, 0) # clear (or second color)DELAY = 0.25 # blink rate in seconds# Create the NeoPixel objectpixel = 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?