You cannot use a pullup, you have to use a pulldown (1k should work). Do get the LM324 data sheet if you do not have it. Peter -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads