i2c library for XC8 compiler PIC16f
Discussion in "Project Help" started by pravin_35 Sep 3, 2014.
Wed Sep 03 2014, 08:41 pm
hi guys
i am in need of i2c library for XC8 compiler for Pic16f microcontroller.... i searched in internet most of the library is for PIC18series so can any 1 provide library ..
i am in need of i2c library for XC8 compiler for Pic16f microcontroller.... i searched in internet most of the library is for PIC18series so can any 1 provide library ..
Sat Sep 06 2014, 12:35 pm
Did you check our tutorial?
http://www.8051projects.net/i2c-twi-tutorial/pic-i2c-implementation.php
http://www.8051projects.net/i2c-twi-tutorial/pic-i2c-implementation.php
pravin_35 like this.
Mon Sep 08 2014, 11:02 am
hi ajay
The code in this tutorial is for Hitech C but i need code for XC8 compiler...
The code in this tutorial is for Hitech C but i need code for XC8 compiler...
Thu Sep 11 2014, 10:08 am
Well HitechC is the compiler used inside XC8. So it should work directly. If not then just modify it... its very simple to replace the register names.
Powered by e107 Forum System