Author Topic: == I2C C Source Code for using I/Os ==  (Read 8494 times)


  • Administrator
  • Hero Member
  • *****
  • Posts: 564
    • View Profile
== I2C C Source Code for using I/Os ==
« on: November 27, 2006, 08:21:58 PM »
For example projects (written in C using free MPLAB C18 compiler) on using the LCD2S in I2C mode, see these topics:
- Example projects in C for PIC18F452
- Example projects in C for PIC18F2520
The "lcd2s_i2c_kpad_io" project in the source code available in these topics contains example code for using the OUT1 and OUT2 outputs of the LCD2S board.

Additionally have a look at the SPI documentation at:
All commands are the same as for the SPI mode of communication, with the following differences:
  • There is no Sync character (0xf5), it is replaced by the I2C start condition
  • All messages are ended with the I2C stop condition
« Last Edit: July 02, 2009, 12:20:19 AM by modtro2 »


  • Full Member
  • ***
  • Posts: 10
  • [url=]russian bikini bride[/url]
    • View Profile
    • russia marriage dating
I2C C Source Code for using I/Os
« Reply #1 on: October 29, 2009, 09:47:28 AM »

As you can see Im an Atmel guy and you can USE/MODIFY/INTEGRATE all the source code provided by us.
Go ahead EDI without any problem