• sales

    +86-0755-88291180

Raspberry Pi Install related software and settings User Guide

3.0 Install related software and settings


As the author of WiringPi stopped updating the WiringPi library on August 6, 2019, WiringPi cannot be used in the new 64-bit system of Raspberry Pi, and C files cannot be compiled. 

If you are using the official 64-bit image of the Raspberry Pi, we recommend that you use the python code.


1. The Raspberry Pi opens the I2C settings.

PS: The Raspberry Pi RGB_Cooling_HAT and Raspberry Pi control method is operated by I2C, so we need to enable the Raspberry Pi I2C service.

Input command:

sudo raspi-config

Then, select theInterfacing Options


Select P5 I2C and confirm with “YES”. 





2. 
Install wiringPi 

PS: Raspberry Pi official raspbian system will bring its own wiringPi by default. You can run gpio –v to view the version. If there is, skip this step.

Input command:

cd ~

git clone git://git.drogon.net/wiringPi 

If this command cannot be downloaded, use the following command to download the unofficial wiringPi image:

git clone https://github.com/WiringPi/WiringPi.git

cd WiringPi

sudo ./build

3. Install gcc

PS: Raspberry Pi official raspbian system will bring its own wiringPi by default. You can run gpio –v to view the version. If there is, skip this step.

Input command to install gcc:

sudo apt-get install gcc

4. Oled display drive

Just need to put the three driver files of the oled driver library (ssd1306_i2c.c/ ssd1306_i2c.h/oled_fonts.h) in the same folder as the source code need to be run, and compile with gcc command.

Eg:

gcc -o oled oled.c ssd1306_i2c.c -lwiringPi

./oled

TAG: ESP32-S3 AI Electronic Eye Development Doard DualEye TouchEye 1.28 inch TouchScreen LCD Round Display N16R8 Toy Doll Robot Metal Case Power Manager Module Raspberry Pi 5 LIR2032 Raspberry Pi 5 Case JETSON NANO MINI ESP32-S3 Smart 86 Box Development Board with 4 inch 480x480 Display Touch Screen For AI and DeepSeek Raspberry Pi 5 Sound Raspberry Pi 5 PD Activation Module JETSON NANO MINI Fan Raspberry Pi Touch Display 2 Official Original Capacitive TouchScreen 7 inch LCD TFT 720x1280 PC U Raspberry Pi 2inch LCD PI5 Case Computer AI Deepseek Mechanical Voice Keyboard Linux 10x0.85inch LCD Screen Customize keys + 2.01 inch Secondary Display 800x480 Sipeed MaixCAM Pro AI Camera Kit SG2002 RISC-V YOLO OpenCV Audio WIFI6 Linux Board IMU MicroPhone Speaker 1.28 inch Round Rotary LCD Smart Screen 1.28inch Knob Display 240x240 Option Touch/No-Touch Development Board Raspberry Pi 500 (US) refined personal computer.built into a high-quality Keyboard