pxt-maker
pxt-maker copied to clipboard
analogWrite on most ItsyBitsy M4 analog pins not working
This code doesn't run properly on any analog pin other than A1:
pins.A0.analogWrite(0)
pause(500)
pins.A0.analogWrite(198)
pause(500)
pins.A0.analogWrite(1023)
pause(500)
})
@jedgarpark is this still an ongoing issue?
@wallarug oops, I grabbed an ItsyBitsy to test this on and grabbed an M0 instead of an M4 -- I'll test it later today when I'm back at my workshop.
there is still odd behavior from the analog out pins, yes.
here's an example: https://makecode.com/_5as1q3WLH3sU This doesn't light an LED plugged into the board.