Width and height of LED matrix (height=1 for LED string).ledstring.invert=1 if using a inverting level shifter.Make sure to adjust the parameters in main.cto suit your hardware. Sudo apt update & sudo apt -y install scons Download demo code projects sources from github. Make sure your Raspberry Pi can access internet. If you have issue with using the OLED display, please contact us first. If you can not download the repository from github, please check the internet connection and please make sure you can access to. if not, please reconnect the cable and reboot raspberry pi. If there is black screen or have nothing display on the screen, please check whether the cable is connected properly, and then check if you have enable the I2C function, and you can just typing : i2cdetect -y 1 in a terminal and check if there is an address like "3C" on screen. At this time, the OLED screen is displaying a clock. Entering into example folder and test it.Ĩ. Sudo apt -y install python3 python3-pip python3-pil libjpeg-dev zlib1g-dev libfreetype6-dev liblcms2-dev libopenjp2-7 libtiff5ħ. If encount `command not found` error, please install `i2c-tools` by using `sudo apt update & sudo apt -y install i2c-tools`. Check if the screen has been recognized by Raspberry Pi Turn on `i2c function` by using `sudo raspi-config` -> `interface options` -> `i2c` -> `enable` -> `yes`.Ģ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |