Hii all
I have tried with arduino timers using this linkhttp://www.righto.com/2009/07/secrets-o … o-pwm.html for timer 0 and i want to generate 976.5625(prescale 64) on OCR0B and 7812.5(prescale 8 ) How to modify my code any help would be greatly appreciated
Thanks
Richard36
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
TCCR0A = _BV(COM0A1) | _BV(COM0B1) | _BV(WGM01) | _BV(WGM00);
TCCR0B = _BV(CS01);
OCR0A = 180;
OCR0B = 180;