Hi, I'm new to this forum and was wondering if anybody could help me with timing on a binary clock that I am programming. I'm sure that my code is not the most efficient but I need to waste some time in the routine and is there anyplace that will tell me how long it takes to execute PortB and PortA commands as well as: for, next and assignments like MinuteOnes = Minute//10. I've been tweaking here and there on a bread board and I can get close but have not hit the timing right as of yet. I am using a 20MHz clocking crystal with a PIC F84A processor. I assume that a pause will take 1/5 of a milisecond. Thanks!
Bookmarks