Pico Servo Travel #13878
Replies: 2 comments 2 replies
-
please edit/repost, but Quoting code properly. We can't make out what you're trying to do |
Beta Was this translation helpful? Give feedback.
-
Without having read the library code I suppose: Analog servo positions cannot be read. The servo is following a PWM-like signal, which is only a one-way communication. You might try to init the servo (or change the Servo classes init to allow it to) so that you specify a position different from 0 at initialization. Assuming that you know the physical position of the servo at the start. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am learning to use micropython with servos. When I initialise my code, the servo jumps to 0 degrees at maximum velocity (I'm guessing it's zero degrees), before executing the routine. How can I make it travel from the position it finds itself in to the 90-degree position without going to zero first? and ideally at the speed I set which is dictated by delay_ms?
Any help is appreciated. here is my code:
Beta Was this translation helpful? Give feedback.
All reactions