It depends on the clock speed. It's in the manual....
It depends on the clock speed. It's in the manual....
Dave Purola,
N8NTA
EN82fn
Okay, then in the manual the results are given in us units (micro-seconds) which is 1000 time more than in ms (milliseconds). IE "If a 4MHz oscillator is used, the pulse width is returned in 10us increments. If a 20MHz oscillator is used, the pulse width will have a 2us resolution." I am using a 10MHz crystal. Best, Ed
So, with a 10MHz crystal the pulswidth is returned in units of 4us, a result of 380 equals a pulsewidth of 1520us.
Bookmarks