1. sovannarith

    Thread Starter Member

    Feb 11, 2010
    18
    0
    Dear All

    I would like to know how can I set pin_A4 as I/O port rather than Timer. I use ccs c.
     
  2. Tahmid

    Active Member

    Jul 2, 2008
    344
    25
    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.
     
  3. sovannarith

    Thread Starter Member

    Feb 11, 2010
    18
    0
    Thank now i get this info.
     
Loading...