|
Re: servo PWM sampling-what Fosc should I use?
Depending on what processor you are using, you might be able to convince the hardware to do it for you, rather than polling it. This will let you run it with a different sample frequency AND lets you do other stuff while you are waiting.
On the PIC, I think it is called the "Input Compare" or "Input Capture Compare".
In any case, you are right in assuming that the resolution you can get is directly related to your crystal frequency.
What processor are you using?
|