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
Bookmarks