Weather for LCD1602
- Simple Weather Check base on Hefeng api, Work on raspberry Pi
- 简单基于和风天气的查询 可以被树莓派使用
How To Use?
Use git clone https://github.com/DDizzzy79/LCD1602HeWeatherPull.git
Then cd LCD1602HeWeatherPull
Then Use
[email protected]:~ $ sudo apt-get install i2c-tools
[email protected]:~ $ sudo apt-get install python-smbus
[email protected]:~ $ sudo i2cdetect -y 1
TO find your i2c Ports, Ater that, config The LCD1602.py
File , Change The i2c setting to the one you found Also, In order to set the ports of i2c between RaspberryPi , Use gpio readall
to check
GND --- GND VCC --- 5V SDA --- SDA SCL --- SCL