Peter, I would personally start one of the 16 bit timers (if it has 1) and then read it and use it as the SEED for the random command whoes output would be scalled and used as the PAUSE variable.