Too clever by half you two......

No seriously great stuff and a great help. Henrik thanks for code, looks just the ticket.

So RANDOM isn't really RANDOM, only a pseudo RANDOM. Which gives me another small problem. I don't want the 'seed' to start in the same place when the PIC is powered up and run.

Is there a way of starting the 'RANDOM' cycle with a different 'seed' at power_up each time?

Dave