Closed mmoskal closed 3 years ago
@mmoskal
The Analog Pins are not working on Pico
I think it's because GPIO 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 you have the ability to update the files, here's the documentation from Pi:
https://www.raspberrypi.com/documentation/pico-sdk/hardware.html#hardware_adc
Images automagically compressed by Calibre's image-actions ✨
Compression reduced images by 20.7%, saving 58.75 KB.
docs/static/libs/jacdac-brain-f4.jpg
docs/static/libs/jacdac-brain-rp2040.jpg
docs/static/libs/jacdac-iot-s2.jpg
docs/static/libs/jacdac-nrfbrain.jpg
docs/static/libs/rpi-pico.jpg
131 images did not require optimisation.
Update required: Update image-actions configuration to the latest version before 1/1/21. See README for instructions.