just like this?
HardwareTimer timer1(4);
void setup(){
pinMode(24,PWM);
timer1.pause();
timer1.setPrescaleFactor(1);
timer1.setOverFlow(50000);
timer1.setCompare(4,100);
timer1.refresh();
timer1.resume();
}
just like this?
HardwareTimer timer1(4);
void setup(){
pinMode(24,PWM);
timer1.pause();
timer1.setPrescaleFactor(1);
timer1.setOverFlow(50000);
timer1.setCompare(4,100);
timer1.refresh();
timer1.resume();
}
You must log in to post.