ADVICE USING RB0 INT FUNCTION

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
siliconchip
Posts: 392
Joined: Wed Jan 05, 2011 11:24 am
Has thanked: 101 times
Been thanked: 24 times
Contact:

ADVICE USING RB0 INT FUNCTION

Post by siliconchip »

hi all
im looking for advice whilst using the RB0 int function on a pic (16f 887), if i set it for say trigger on the rising edge would i need to use say a 10K resistor to pull it low and vice versa ie falling edge and a 10K pull up resistor or can the bit just be connected without the resistors ?? cheers

bob

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: ADVICE USING RB0 INT FUNCTION

Post by kersing »

That depends on what you use to drive the input. If you use a well defined, not open collector, output of another chip no pull-up/down is required. If you use a switch that connects to GND/Vcc a pull-up/down will be required.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

siliconchip
Posts: 392
Joined: Wed Jan 05, 2011 11:24 am
Has thanked: 101 times
Been thanked: 24 times
Contact:

Re: ADVICE USING RB0 INT FUNCTION

Post by siliconchip »

thank you kersing

Post Reply