- 更新庫
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
- 運(yùn)行測試
cd examples/
sudo python stats.py
