Hardware
- 1. Raspberry Pi (any version)
- 2.I2C Pi OLED
Hardware link
- Insert IIC PI OLED into Raspberry Pi
usage
- When works as a computer monitor, supports Windows 10/8.1/8/7, five-points touch, and driver free
- 3.5mm audio jack, supports HDMI audio output
Features
Update your PI and python
sudo apt-get update
sudo apt-get upgrade
and sudo pip3 install --upgrade setuptools
- If the above command does not run, try the following command
sudo apt-get install python3-pip
Enable I2C interface
- You can refer to here
- Note that select enable IIC. Then download some essential tools:
sudo apt-get install -y python-smbus
sudo apt-get install -y i2c-tools
Installing the OLED Python Library
git clone https://github.com/adafruit/Adafruit_Python_SSD1306.git
cd Adafruit_Python_SSD1306
sudo python setup.py install
Python script routines
cd examples
- In the examples folder, you can see the following example script:
animate.py
buttons.py
image.py
shapes.py
stats.py
- You can run these examples with the following command:
python shapes.py
To:
Dear Customers, There may be a lag of several hours before we could process your order, depending on the time difference between your location and ours. Sincerely hoping your understanding!
Email(support)
services01@spotpear.com