After updating to 6.1 I chose to have a go at using the I2C display component which I have been looking to play with for some time.
Device is a 18F4550
So just to start easy I added a 1s tick on a led (that works fine on its own) and downloaded it to hardware and all is ok.
However every time I add the compo0nent to the dashboard, set the I2C component to use RB0/RB1 (Channel 1) and the address to 0x40 and 2x16 I get this during preprocessing and that is where it fails.
Code: Select all
SW_LCD_RLY_V61.c
Starting preprocessor: D:\FC6\compilers\pic\boostc\pp.exe SW_LCD_RLY_V61.c -i D:\FC6\compilers\pic\boostc\include -d _PIC18F4550 -la -c2 -o SW_LCD_RLY_V61.pp -v -d _BOOSTC -d _PIC18 -d _CHAR_INDEX
............
D:\FC6\CAL\PIC\PIC_CAL_I2C.c(468:2): error: unknown identifier 'sspcon3'
D:\FC6\CAL\PIC\PIC_CAL_I2C.c(468:2): error: invalid operand 'sspcon3'
D:\FC6\CAL\PIC\PIC_CAL_I2C.c(468:10): error: failed to generate expression
D:\FC6\CAL\PIC\PIC_CAL_I2C.c(469:2): error: unknown identifier 'sspmsk'
D:\FC6\CAL\PIC\PIC_CAL_I2C.c(469:2): error: invalid operand 'sspmsk'
D:\FC6\CAL\PIC\PIC_CAL_I2C.c(469:9): error: failed to generate expression
D:\FC6\CAL\PIC\PIC_CAL_I2C.c(543:8): error: unknown identifier 'sspcon3'
D:\FC6\CAL\PIC\PIC_CAL_I2C.c(543:8): error: failed to generate expression
D:\FC6\CAL\PIC\PIC_CAL_I2C.c(543:8): error: invalid operand 'sspcon3'
D:\FC6\CAL\PIC\PIC_CAL_I2C.c(543:17): error: failed to generate expression
SW_LCD_RLY_V61.c success
failure
..
Completed BoostC compilation, return = 1
D:\FC6\compilers\pic\boostc\boostc_18F.exe reported error code 1
Any help greatly appreciated
John