I tried to use the neopixel to indicate a magnetic switch was activated, and that failed.
I found another way to confirm the magnetic switch worked, but never got the Neopixel to work.
I then tried to turn off the STEMMA power pin, but also to no avail.
I have a STEMMA aLIS3DH connected and it still has its green LED on.
This is what I've tried, with both board.D7 and board.NEOPIXEL, but with the same result.
My code is likely the issue, but I couldn't find a good example.
I also understand that there is a known issue with the battery monitoring component, so I am wondering if there are other known issues with this board... or if my code is the problem.
Code: Select all
import time
import digitalio
import board
OFF2C = digitalio.DigitalInOut(board.D7)
OFF2C = digitalio.DriveMode.PUSH_PULL
OFF2C = digitalio.Pull.DOWN
Thanks