• sales

    +86-0755-88291180

Libraries Installation for RPi User Guide

Open the terminal of Raspberry Pi and install libraries as guides below

Install WiringPi Library

cd
sudo apt-get install wiringpi
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
gpio -v

Install C Library bcm2835

cd
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz
tar zxvf bcm2835-1.60.tar.gz 
cd bcm2835-1.60/
sudo ./configure
sudo make && sudo make check && sudo make install

For more information and the newest libraries please refer to website:http://www.airspayce.com/mikem/bcm2835/

Install Python Library

For python2
cd
sudo apt-get update
sudo apt-get install python-pip
sudo pip install RPi.GPIO
For python3
cd
sudo apt-get update
sudo apt-get install python3-pip
sudo pip install RPi.GPIO

TAG: Raspberry Pi 5 RTC charge E-Ink Raspberry Pi IR Thermal Imagi 4.26inch-e-Paper Raspberry Pi Camera V2 UNO Minima RA4M1 ZERO Tiny SuperMini R7FA4M1 Board Compatible With R4 For Arduino 2.8inch Capacitive TouchScreen LCD Display ST7789 CST328 240x320 For Arduino/Raspberry Pi/ESP32/Pico Bevelopment Board ESP32-S3 Industrial-Grade WiFi Relay IOT RS485 Communicator Bluetooth Raspberry Pi 5 RV1106 Jetson Orin Raspberry Pi Pico spotpear DeepSeek XiaoZhi AI Voice Chat Robot BOX ESP32-S3 Development Board 1.28 inch Round LCD 1.28inch TouchScreen N16R8 ESP32 1.54 inch E-Paper Smart Watch display Screen 200x200 Ultra-low power For Arduino/Micropython/RTOS For Watchy RS232 to RS422 Spotpear Arduino Board Managers Tutorial User Guide ESP32-S3 Development Board 1.47 inch LCD Screen Display 172x320 SD-Port LVGL USB