# I2C

下列步驟將說明如何連接並使用 Seeed Studio 的 [Grove LCD RGB Backlight](http://wiki.seeed.cc/Grove-LCD_RGB_Backlight/) 模組：

1. 將模組的 **VCC** 埠連接到 LinkIt 7697 的 **5V** 腳位、**GND** 埠連接至 **GND** 腳位。
2. 將模組的 **SDA** 腳位連接到 LinkIt 7697 的 **P9 (GPIO28/I2C1\_DATA)**。
3. 將模組的 **SCL** 腳位連接到 LinkIt 7697 的 **P8 (GPIO27/I2C1\_CLK)**。
4. 從模組的 [WiKi 頁面](http://wiki.seeed.cc/Grove-LCD_RGB_Backlight/)下載驅動程式 ([檔案連結](https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight/archive/master.zip))。下載的 ZIP 壓縮檔名為 **Grove\_LCD\_RGB\_Backlight-master.zip**。
5. 在 Arduino IDE 中選擇 **Sketch > Include Library > Add .ZIP library...**，然後選取前一步驟下載的檔案 **Grove\_LCD\_RGB\_Backlight-master.zip**。
6. 驅動程式安裝完成後，開啟範例程式 **File > Examples > Grove\_RGB\_LCD\_Backlight-master > Helloworld**。
7. 編譯並上傳範例程式。完成後 LCD 模組會亮起並顯示 "hello, world!" 字樣與計數器。

下圖為 LCD 模組以及 LinkIt 7697 的接線範例：

(LCD 模組圖片取自 [Johnny-five project repository](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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cavedu.gitbook.io/linkit-7697/linkit-7697-arduinoide/kai-fa-zhi-nan/i2c.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
