Your DELAY constant is 1 ms, but you say the pulse rate for the PWM servo is 50 Hz which is 20 ms, so assuming your control for loop has trivial overhead you are messing with the control pulse width 20 times faster than the pulse is generated. What don't I understand here? Could this be related to "My servo required me to tweak these numbers a tiny bit"?
In reply to Re: Using a controllerless servo on the Raspberry Pi with Perl
by GrandFather
in thread Using a controllerless servo on the Raspberry Pi with Perl
by stevieb
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |