PDA

View Full Version : pause 1 min in osc 48 ?



dala01
- 12th December 2011, 13:42
how to calculate the number to write after pause to have a pause of 1 or 0.5 minute

the oscillator is at 48 mhz ? .

HenrikOlsson
- 12th December 2011, 15:22
From the manual:

PAUSE Period

Pause the program for Period milliseconds. Period is 16 -bits using PBP and PBPW, so delays can be up to 65,536 milliseconds (a little over a minute).
And

PAUSE assumes an oscillator frequency of 4Mhz. If an oscillator other than 4Mhz is used, PBP must be told using DEFINE OSC command.
See the section on speed for more information.

So, how many milliseconds are there in one minute?

/Henrik.