Compiling C Code on the Development Board
Command Line Method
IO Control
Please use WalnutPi OS v2.3 or above.
I2C
Configure Pins
SPI
Configure Pins
UART (Serial Port)
Configure Pins
PWM
In the GPIO Application - PWM section, hardware PWM is controlled by writing values to specified files. If you want to control PWM using C language, simply call the C language file read/write functions to operate those files.