SSPCON VAR BYTE EXT worked for me directly in the code, also worked for me when modifying PIC18EXT.BAS file...maybe you just forgot to save the file after doing the modification, or SSPCON register definition is also missing in the MPASM file ? 

Originally Posted by
... \MPASM Suite\P18F2431.INC
ADRES EQU H'0FC3'
ADRESL EQU H'0FC3'
ADRESH EQU H'0FC4'
SSPCON EQU H'0FC6'
SSPSTAT EQU H'0FC7'
SSPADD EQU H'0FC8'
Last edited by mister_e; - 10th November 2008 at 17:00.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks