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
Hi,
I am trying to read a analog pin on Pico, via analogRead() on Makecode Arcade with rp2040(or r2 variant), but always got 0. So digged codes of arcade, then codal-pico, then this repo, I found the RP2040Pin::getAnalogValue() function just return 0 at last. Hope my understanding is correct, this is the reason why I got 0.
Hi,
I am trying to read a analog pin on Pico, via analogRead() on Makecode Arcade with rp2040(or r2 variant), but always got 0. So digged codes of arcade, then codal-pico, then this repo, I found the RP2040Pin::getAnalogValue() function just return 0 at last. Hope my understanding is correct, this is the reason why I got 0.
https://github.com/lancaster-university/codal-rp2040/blame/ca54f854754d4cd2aad993f6c8027b8ecb9fb1a1/source/RP2040Pin.cpp#L363-L376
If so, hope this can be fixed ASAP, I need analog pin features for analog joystick on new board of Pico.
Thanks a lot in advance !
The text was updated successfully, but these errors were encountered: