Correction to post #20. I have been looking more closely at the ATtiny13A data and have found that it does not have a crystal oscillator option. I will have to look through the data sheets for a more suitable member of the family. The suggested PIC would work but a programmer to program it would be more expensive than the programmer for the ATtiny family.
Les.
Les.