gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: RB<7:4> & push button
From: Petou
Date: Sun, 23 Mar 2003 12:48:55 +0100 (CET)


Hi all,
	i'm trying to detect a push button pressure on one of the RBIE pin's
(RB<7:4>) on a p16f84 with the interruption mechanism.
 But as i'm new in this area (hardware) i don't know the behavior of the
RB<7:4> mecanic. One of my hypothesis is that they should store the new state
as they are latches but i'm not sure even more i don't succeed in
"resetting" the portb with a read i.e. it stays in high (the RBIF is clear
correctly).

Any idea ?

Regards,
petou.

gnupic@linuxhacker.org