Thanks for the suggestions. Lots to think about! I might perhaps go for a PIC with a large number of inputs to make the circuit as simple as possible until I get more used to the PIC architecture & programming. Andrew -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist