I2C COMPILE ERROR

Moderator: Benj

Post Reply
PIC-ER
Posts: 15
Joined: Fri Dec 21, 2012 4:07 pm
Has thanked: 7 times
Contact:

I2C COMPILE ERROR

Post by PIC-ER »

Hi,
When i compile a simple program , i am getting the following error: i am compiling to a PIC16F677.
Using V5.5.2.1 (30.01.2013)
ERROR.JPG
ERROR.JPG (65.64 KiB) Viewed 3931 times

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: I2C COMPILE ERROR

Post by Enamul »

Hi
Thanks for letting us know. I have checked the CAL file for I2C and it seems that for first I2C erroneously SSPCON2 has been used which is the cause of error.

Note: don't replace old one..make a backup and put this one. It need to be checked by Ben.
Attachments
PIC_CAL_I2C.c
(20.92 KiB) Downloaded 331 times
Enamul
University of Nottingham
enamul4mm@gmail.com

PIC-ER
Posts: 15
Joined: Fri Dec 21, 2012 4:07 pm
Has thanked: 7 times
Contact:

Re: I2C COMPILE ERROR

Post by PIC-ER »

Thank You! For the fix. :D

Post Reply