16F1826 16F1827 with I2C not compiling

Moderator: Benj

Post Reply
medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

16F1826 16F1827 with I2C not compiling

Post by medelec35 »

: error: unknown identifier 'SSPIF'
: error: invalid operand 'SSPIF'

This is caused By BoostC not Flowcode. See:
http://www.matrixmultimedia.com/mmforum ... 131#p31868
for a posted Fix

I would guess this error could apply to all the 16F18XX
Range so will need that baring in mind when V5 update is developed.

Martin
Martin

User avatar
psf
Posts: 45
Joined: Mon Jun 25, 2007 9:44 pm
Location: Italia
Has thanked: 6 times
Been thanked: 2 times
Contact:

Re: 16F1826 16F1827 with I2C not compiling

Post by psf »

And if I want to use the PIC16LF1906 which hasn't SSPIF flag on PIR1, what should I do (without changing PIC). The software routine shouldn't work anyway in any PIC?

Post Reply