Questions tagged «wiringpi»

3
控制硬件PWM频率
我正在使用带有connectionpi的硬件PWM输出。它提供了函数pwmSetClock,该函数应该可以更改频率。(https://projects.drogon.net/raspberry-pi/wiringpi/functions/)。我认为,由于默认值为200 Mhz,将除数设置为200000000可以使LED明显连接到输出闪光灯,但是事实并非如此。 可以更改吗?
21 gpio  hardware  pwm  wiringpi 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.