Ads 468x60px

##EasyReadMore##

24 1月, 2017

Raspberry Pi I2C LCD pythone Example

下面是用 1602 做為範例

文章提到:Using An I2C Enabled LCD Screen With The Raspberry Pi - https://goo.gl/AX5Aul
The Raspberry PI GPIOs use 3.3V logic levels, and can be damaged if connected directly to 5V levels (as found in many older digital systems) without level-conversion circuitry.

因為 LCD 是吃 5V 所以需要做電壓準位轉換
但因為看起來沒差太多,所以直接接了試試看


下載 RPi_I2C_driver.py
https://gist.github.com/DenisFromHR/cc863375a6e19dce359d

範例如下:
Raspberry Pi I2C LCD Set Up and Programming - Circuit Basics - https://goo.gl/EK9cGa

0 意見:

張貼留言

 
Blogger Templates