> For the complete documentation index, see [llms.txt](https://cavedu.gitbook.io/linkit-7697/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cavedu.gitbook.io/linkit-7697/linkit-7697-development-guide-for-arduino-ide/developer-guide/i2c.md).

# I2C

LinkIt 7697 supports I2C through the [**Wire** library](https://www.arduino.cc/en/Reference/Wire). Most I2C devices that have drivers based on **Wire** library should work without problems. You can find a list of compatible devices, along with their drivers and example sketches in this [repo](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino). The I2C data and clock pins are already pulled up by the board, so it's unnecessary to add extra pull-up circuits.

1. Connect the **VCC** port to **5V** pin of LinkIt 7697 since the LCD module requires a 5V power source.
2. Connect **SDA** pin of the module to **P9 (GPIO28/I2C1\_DATA)** pin of LinkIt 7697.
3. Connect **SCL** pin of the module to **P8 (GPIO27/I2C1\_CLK)** pin of LinkIt 7697.
4. Download the driver library from its [wiki page](http://wiki.seeed.cc/Grove-LCD_RGB_Backlight/) or [direct link](https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight/archive/master.zip). The downloaded library is a zip file named **Grove\_LCD\_RGB\_Backlight-master.zip**.
5. Choose **Sketch > Include Library > Add .ZIP library...** from the IDE menu, and then select the zip file **Grove\_LCD\_RGB\_Backlight-master.zip**.
6. After adding the library, open the menu item **File > Examples > Grove\_RGB\_LCD\_Backlight-master > Helloworld**.
7. Upload the example sketch. Once uploaded, the LCD module should light up and shows "hello, world!" message, along with an increasing counter.

The diagram below shows how to connect the board to the LCD module. The graphics of the LCD module came from the Johnny-five project repository [here](https://github.com/rwaldron/johnny-five/blob/master/docs/breadboard/grove-lcd-rgb.fzz).

![](https://3972650740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY4gduUSLWOCI23CXUWej%2Fuploads%2FY48GUy4TxOKhS9cmuGN9%2Fgrove-lcd-rgb_bb.png?alt=media\&token=97da4f24-fd9d-4c7d-adfb-f6502b96ed56)
