#Adafruit LED Arcade Button 1x4 STEMMA QT
1 messages · Page 1 of 1 (latest)
🧵
It looks like the issue is that pins 0 and 1, when called via PWMOut do not like pwm'ing to fully on/off
The workaround I have right now
led = PWMOut(arcade_qt, 0)
# Doesn't turn the light off
led.fraction = 0
# But this works
led._seesaw.digital_write(led._pin, 0)
# Doesn't turn the light on
led.fraction = 1
# But this works
led._seesaw.digital_write(led._pin, 1)
Agreed, that is very weird. What version of CircuitPython are you using, which board is it running on, and are you using the latest version of the adafruit_seesaw library?
Also if you do: led.duty_cycle = 65535 and led.duty_cycle=0 does that turn the light on and off?
And to verify: the issue you're seeing is the light isn't fully turning on and off? How are you verifying this?
this is a known issue
digitalWrite works as expected though
so if you just need on/off control, can use that
ooff. thanks @cater. and dang, looks like we can't fix that on the CircuitPython side
thanks for sharing! good to know