Some of the inputs such as RB0 on the 16F87/8 can be configured as STs. but the data sheet is not very explicit about their behaviour. Before I start doing experiments, does any body have any experience with these, particularly the degree of hysteresis? __________________________________________ David C Brown 43 Bings Road Whaley Bridge High Peak Phone: 01663 733236 Derbyshire eMail: dcb.home@gmail.com SK23 7ND web: www.bings-knowle.co.uk/dcb *Sent from my etch-a-sketch* --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .