![](https://somethingnew.ca/wp-content/uploads/2024/04/image.png)
This is supposed to be about 1.1ms.
![](https://somethingnew.ca/wp-content/uploads/2024/04/image-1.png)
But for some reason, it jitters a lot.
![](https://somethingnew.ca/wp-content/uploads/2024/04/image-2.png)
So, I had to give up on the servo library I was using. It obviously conflicted with something else I was doing… interrupts? timers? who knows? Sometimes that’s a problem with blindly using a library.
So, I dug into the datasheet and configured one of the timers to generate the servo pulse for me. A few hours later I had a rock solid pulse! It also saved me 800 bytes of flash.
Leave a Reply
You must be logged in to post a comment.