You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to perform an analogRead or analogWrite, the Raspberry Pi Pico does not seem to work. analogRead returns a value of 0 always and analogWrite does not actually send anything.
The text was updated successfully, but these errors were encountered:
I've looked into this and I think it's because Pins 26/27 are set up in makecode as 'Analog' but only as regular Analog Pins would be, not actually set to read through the Pico's ADC hardware.
Alternatively if pins A0 / A1 were included, those could be read as Analog, automatically read through the ADC I believe.
It would be great to getting Analog Inputs working on the Pico in MakeCode - if anyone has the ability to update the files, here's the documentation from Pi:
When attempting to perform an analogRead or analogWrite, the Raspberry Pi Pico does not seem to work. analogRead returns a value of 0 always and analogWrite does not actually send anything.
The text was updated successfully, but these errors were encountered: