美文网首页
树莓派使用128*64 0.9寸LCD(I2C)

树莓派使用128*64 0.9寸LCD(I2C)

作者: 高巨龙 | 来源:发表于2019-06-18 13:37 被阅读0次
  • 更新库
sudo apt-get install -y python-imaging python-smbus i2c-tools
  • 查找地址
i2cdetect -y 1
  • 克隆库
git clone https://github.com/adafruit/Adafruit_Python_SSD1306.git
cd Adafruit_Python_SSD1306
sudo python setup.py install
  • 运行测试
cd examples/
sudo python stats.py

相关文章

网友评论

      本文标题:树莓派使用128*64 0.9寸LCD(I2C)

      本文链接:https://www.haomeiwen.com/subject/acffqctx.html