28X pause < 1millisecond

tim griff

hi all,

If I change the resonator from 4MHZ to 8MHz and in my programme I have

pause 1

will the delay be 500microseconds, or is this too short? The same question applies if I use a 16MHZ with the delay be 250 microseconds?

I note the new 28X1 chips have delays in 10microsecond units


Senior Member
Yes, doubling the resonator makes everything run twice as fast (*) and Pause's become half as long. So a &quot;Pause 1&quot; at 4MHz lasts 1mS, 500uS at 8MHz and 250uS at 16MHz.

(*) Not everything on an X1 or X2.