pi-gpio
A dynamic C library to control Raspberry Pi GPIO channels
A dynamic C library to control Raspberry Pi GPIO channels
Supports all production models / all SOC
This library has code to:-
Read Raspberry Pi Information
Perform basic GPIO functions
• Set gpio as input or output
• Read/Write gpio
• Set pullup/down of gpio
• Read the current gpio mode
• Read gpio pull/up down (Pi4/BCM2711 only)
Software PWM on all pins
Hardware PWM support
Read/Set PAD drive, hysteresis & slew settings
I²C
SPI