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
Then the servo at pin 9 cannot be controlled any more and shows erratic behavior (e.g. drifts in one direction). This holds on until the rp2 is hard-resetted. It does not seem to matter if I call picodisplay.init(buf) before or after I grab pin 9 for the servo ... The pin "reports" still the correct frequency and duty cycle, but does not respond.
I looked at the underlying C/C++ code (https://github.com/pimoroni/pimoroni-pico) but cannot find any undocumented reference to pin 9. I used the newest code to built the image.
Does anyone have an idea what happens here?
Thanks!
The text was updated successfully, but these errors were encountered:
Yes, this sounds like a possible explanation. This potential issue is not clearly pointed out in the pico board description - at least, I did not find it. And yes, a warning - ideally in the rp2040 specific pages in the MicroPython docs - would be useful.
Hi,
I am a bit puzzled: I am using 3 pins (2, 9, and 10) to drive servos via PWM. This works fine until I call
picodisplay.init(buf)
:Then the servo at pin 9 cannot be controlled any more and shows erratic behavior (e.g. drifts in one direction). This holds on until the rp2 is hard-resetted. It does not seem to matter if I call
picodisplay.init(buf)
before or after I grab pin 9 for the servo ... The pin "reports" still the correct frequency and duty cycle, but does not respond.I looked at the underlying C/C++ code (https://github.com/pimoroni/pimoroni-pico) but cannot find any undocumented reference to pin 9. I used the newest code to built the image.
Does anyone have an idea what happens here?
Thanks!
The text was updated successfully, but these errors were encountered: