Hi all. I am trying to make a switch counter that would put on the lcd screen how many times /50 the switch has been opened/closed. I purchased the Book PIC In Practice and have been successfull in building the LCD circuit 2x20 and able to put the words i need to the screen. (after spending hours trying to get it to work) What i need and am hopelessly lost at this point, is to count the switch on A0 and put the amount on to the screen. using the lcd Code in the above book. I beg you, this is not for any other purpose than to count the water gallon usage in my house using a hall effect switch on the meter. Can anyone help me with code/ suggestions etc Thanks in advance Paul -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist