I have conected LED to all free pins on chip.
and i use normal output_high(), function for each pin.
All LED's are conected on this way:
PIN --> resistor -->LED -->ground
and all are working fine ( lighting ) exept the ones where pin is definied as
Input/output pin (with interrupt-on-change).
Can i change this thru program ( light them programaticly ) or is this HW errror ?
rwyoung
Joined: 12 Nov 2003 Posts: 563 Location: Lawrence, KS USA
Posted: Wed Feb 08, 2006 11:55 am
Which pin EXACTLY? Some pins (RA4 on PIC16F877A and others) for example are open collector when used as an output. _________________ Rob Young
The Screw-Up Fairy may just visit you but he has crashed on my couch for the last month!
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
Posted: Wed Feb 08, 2006 12:03 pm
And being an open collector it can only pull a signal down. NOT UP. So in that case you have a pull-up resistor on that pin tied to +5.
Guest
Posted: Thu Feb 09, 2006 3:35 am
Im using chip 16C84 and this are the pins where i can't get no output, on LED
pin RB4-RB7 (I/o with interrupt on change)
pin A4 ( output is open drain type ).
It look like that this is my HW error so if i can not use this:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum