PDA

View Full Version : 18F4431 SSPCON.5 syntax error



AndrewC
- 22nd March 2009, 11:17
Why would I get a syntax error with this line ?

SSPCON.5=0

I want to turn off the SSP module so I can use the external interrupt pins on PortC but when I compile I get a syntrax error.

I've checked the 18FXX31 datasheet and SSPCON is the right control register and bit 5 disables the serial port and configures the pins as I/O port pins.

Andrew

Fixed: http://www.picbasic.co.uk/forum/showthread.php?t=7920