Squibcakes
- 23rd May 2007, 01:03
Hi Guys,
I want to use Pin 1 (TrisE/MCLR input) as a digital input and having problems trying to set TRISE.3 as a digital input.
I get error [113] symbol not previously defined.
I've set CONFIG MCLRE = OFF in the .inc file to disable MCLR, but that doesn't help.
I know it's simple but just can't figure it out.....
' SETUP THE PORTS
ADCON1 = $0F
SSPCON1 = 0
CMCON = $07
TRISA = $FF
TRISB = %00000001
TRISC = %00000001
TRISE = %11111111
Cheers
Squib
I want to use Pin 1 (TrisE/MCLR input) as a digital input and having problems trying to set TRISE.3 as a digital input.
I get error [113] symbol not previously defined.
I've set CONFIG MCLRE = OFF in the .inc file to disable MCLR, but that doesn't help.
I know it's simple but just can't figure it out.....
' SETUP THE PORTS
ADCON1 = $0F
SSPCON1 = 0
CMCON = $07
TRISA = $FF
TRISB = %00000001
TRISC = %00000001
TRISE = %11111111
Cheers
Squib