HerbertMunch
New Member
Hi all,
anyone know how to configure rc0 as a digital output?
I have tried everything i can think of, but it still wont work!
the datasheet states that rc0 is multiplexed with timer1, but ihave turned this off by setting t1con =0; it still doesnt work though.
Any ideas?
many thanks
anyone know how to configure rc0 as a digital output?
I have tried everything i can think of, but it still wont work!
Code:
PORTA=0;
PORTB =0;
PORTC =0;
PORTE =0;
T1CON =0;
ADCON1 = 0x0F;
CMCON = 0x07;
TRISB = 0;
TRISA =0;
TRISE =0;
TRISC =0;
// RED_LED10(1);
LATA = 0xff;
LATB = 0xff;
LATC = 0xff;
LATE = 0xff;
the datasheet states that rc0 is multiplexed with timer1, but ihave turned this off by setting t1con =0; it still doesnt work though.
Any ideas?
many thanks