Connect to the Neokey via I2C:
I connected the Neokey via Qwiic cable to the board and scanned for its address, which returns "0xb". I tried to create the Neokey connection (using the Neokey 1x4 i2c protocol, which I wasn't sure would work or not) and the neokey library (which might only support the 1x4 Neokey) gives me a value error: "No I2C device at address: 0xb".
Connect to the Neokey manually:
I was able to manually connect to keys A and B and they're working as switches. But how do I connect to the board to control its neopixels? I don't see anything on the board's screenprint that I think indicates a designated neopixel I/O. I looked at this project: https://learn.adafruit.com/deco-two-key ... on-feather, which uses the following to access the neopixels:
Code: Select all
pixel_pin = board.D9
pixels = neopixel.NeoPixel(pixel_pin, 2, brightness=1.0)
pixels.fill(BLACK)
time.sleep(0.3)
pixels.fill(WHITE)
time.sleep(0.3)
pixels.fill(BLACK)
time.sleep(0.3)
pixels[0] = MAGENTA
pixels[1] = CYAN
Thanks for any help or advice. If there are any clear gaps in my interpretation, please let me know, I am very new to this.