hartmannathan commented on pull request #5421:
URL: https://github.com/apache/incubator-nuttx/pull/5421#issuecomment-1030863289


   I'm late to the party but I just wanted to add that I was also confused by 
the + 1 tick in the past and I remember writing to ask about it. I think it 
might be in the old Google Group. I don't have the link handy at this time. 
What Greg is describing above sounds a little like a Bresenham-style algorithm. 
It works for drawing slanted lines on a graphic display but also works for 
things like fitting a time intervals that don't divide easily. In my case, it 
turned out that I needed a much higher resolution timer and for that I ended up 
using one of the chip's timer peripherals to produce an interrupt (zero-latency 
in my application). I recognize that that is not always an option but may be 
something to consider. Anyway this PR is closed so this is a moot point now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to