Dear All I would like to know how can I set pin_A4 as I/O port rather than Timer. I use ccs c.
S Thread Starter sovannarith Joined Feb 11, 2010 18 Jun 20, 2010 #1 Dear All I would like to know how can I set pin_A4 as I/O port rather than Timer. I use ccs c.
Tahmid Joined Jul 2, 2008 343 Jun 21, 2010 #2 Hi, pin_A4 is T0CKI pin which is open collector. So if you have to use it as output, you have to clear TRISA4 to set RA4 as output and have a pull-up resistor (between RA4 and VCC). Hope this helps. Tahmid.
Hi, pin_A4 is T0CKI pin which is open collector. So if you have to use it as output, you have to clear TRISA4 to set RA4 as output and have a pull-up resistor (between RA4 and VCC). Hope this helps. Tahmid.