joan2937 / pigpio

pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
The Unlicense
1.45k stars 407 forks source link

Docu: add hint to gpioCfgClock #526

Open ferbar opened 2 years ago

ferbar commented 2 years ago

As far as I understand the documentation gpioSetPWMfrequency(25, 100000); // Set GPIO25 to highest frequency. will set the PWM frequency to 40kHz. I suggest to add "40kHz" instead of highest freqency + add gpioCfgClock before