Simple Weather Check base on Hefeng api, Work on raspberry Pi

a84c29c7402d0e98d61d1eafaf8e504

  • Simple Weather Check base on Hefeng api, Work on raspberry Pi
  • 简单基于和风天气的查询 可以被树莓派使用

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

 

To finish reading, please visit source site