Hi Richard,
Great! Glad it worked out for you.
I guess I was a little short there, but now that you've got that figured out, you might want to take a look at this routine.
http://www.picbasic.co.uk/forum/showthread.php?p=22098
With that you can just go...for a 6us delay.Code:@ DelayUS 6
It looks really big, but it actually compiles to almost exactly the same thing you have. Without having to worry about OSC freq.
Don't know if that helps or not, but thought I'd mention it.
<br>




Bookmarks