Servo update unexpectedly slow?

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
tannewt
 
Posts: 3298
Joined: Thu Oct 06, 2016 8:48 pm

Re: Servo update unexpectedly slow?

Post by tannewt »

Nice! Good work!

I don't think we need it anymore. It looks like the change that added the wait also added a duty_cycle set that has since been replaced.

User avatar
BooleanMattock
 
Posts: 49
Joined: Wed Nov 16, 2022 8:14 am

Re: Servo update unexpectedly slow?

Post by BooleanMattock »

tannewt wrote: Wed Nov 30, 2022 3:33 pm I don't think we need it anymore. It looks like the change that added the wait also added a duty_cycle set that has since been replaced.
In that case, could you consider just deleting the busy-wait and including the change in 8.0.0 or an early 8.0.x?

That said, I guess that now I have a build that works, I can just keep using that for the time being...

User avatar
tannewt
 
Posts: 3298
Joined: Thu Oct 06, 2016 8:48 pm

Re: Servo update unexpectedly slow?

Post by tannewt »

Yup! Could you make a pull request and we'll merge it in? https://learn.adafruit.com/contribute-t ... and-github

User avatar
BooleanMattock
 
Posts: 49
Joined: Wed Nov 16, 2022 8:14 am

Re: Servo update unexpectedly slow?

Post by BooleanMattock »

I'll try - I have never used Git before!

User avatar
BooleanMattock
 
Posts: 49
Joined: Wed Nov 16, 2022 8:14 am

Re: Servo update unexpectedly slow?

Post by BooleanMattock »

Pull request submitted - hope it's all good!

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”