Dear All I have a PIC(16F84) close to my TV and video recorder that monitors = micro switches and record video when certain things happen.=20 I have connected RA1 to +5V through a 1K resister to pull it logic high = and RA1 through a microswitch to GND to pull it logic low when the = microswitch closes. My problem:=20 Every time when I switch the TV off the PIC acts if the microswitch was = activated...but it is not. I have disconnect the TV from everything else exept the mains power and = the problem still remain. Strangely enough is that all the other = functions of the PIC seems to be normal. It don't seems like the PIC = resets or anything because after a 20 second delay subroutine the PIC = must stop the recording and it does so.... Thanks=20 Kindest Regards Francois Robbertze lllllllllll \\ ~ ~ // ( @ @ ) o------oOOo-(_)-oOOo-----o | | | Francois Robbertze | | fr10@mweb.co.za | | | o--------.oooO-Oooo.-------o -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST