The hardware PWM library in Pi without root uses the sysfs interface. See examples/pwmlibdcopen or tst/pwmsine for examples making use of the library. Or see examples/pwmtst for the code and example altogether in a single source that does not need the library to run. You can use it either way.
Statistics: Posted by drankinatty — Fri May 31, 2024 5:07 am