Yes, take out PIC, retest and they are definitely pulled low to 0v. Stuart ----- Original Message ----- From: "Josh Koffman" To: Sent: 10 December 2003 16:59 Subject: Re: [PIC] Input pin at 1.55volts.... > That sounds like they aren't being pulled low at all...maybe you could > verify that all the connections are correct? > > Josh > -- > A common mistake that people make when trying to design something > completely foolproof is to underestimate the ingenuity of complete > fools. > -Douglas Adams > > Stuart Meier wrote: > > > > Just come back to PICs after a very long break. Just updating an old project, on > > a 16F84. Very simple, just flashes LEDs etc. > > > > Now changed rb6 and rb7 to inputs to read a pair of simple switches, which are > > pulled low by 10K res, then switch pulls them high. > > > > I've set to inputs like this.... > > > > move to bank 1 > > movlw b'11000000' > > movwf TRISB > > return to bank0 > > etc > > > > then read them as > > btfsc portb,6 > > etc > > > > but when run PIC does not recognise state of RB6 and RB7 -a simple voltmeter > > check on them gives approx 1.55 volts when they are not pulled high by input > > switch. > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.