> If the user wants the PIC to send a message when the voltage > reaches 13.5V, this would need to be stored as a comparison > figure of 1023 / (13.5 /3) My mistake - 1023 * ( 13.5 / 15 ) -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist