bhagman / SoftPWM

A Wiring (and Arduino) Library to produce PWM signals on arbitrary pins.
MIT License
86 stars 31 forks source link

What is the PWM frequence? #6

Open LuckyLuzz opened 5 years ago

LuckyLuzz commented 5 years ago

Hey, I was wondering what exact pwm frequence the lib generates on a Arduino Mini with a Atmel 328p?

combs commented 4 years ago

looks like about 60hz on a 16mhz atmega328p https://github.com/bhagman/SoftPWM/blob/master/SoftPWM.cpp#L54-L60