#include <lazyPWM.h>setPWMfreq(int Hz);//
Is there an easier way? ... although I guess I learn more playing directly with the timers.
TCCR2B = TCCR2B & 0b11111000 | 0x01;//sets Arduino Mega's pin 10 and 9 to frequency 31250.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16