diff options
Diffstat (limited to 'pwm.c')
-rw-r--r-- | pwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -79,8 +79,8 @@ void pwmStart () { TIMSK0 = (1 << OCIE0A); /* compare value */ OCR0A = 1; - /* io clock with prescaler 64; ctc (part 2) */ - TCCR0B = (1 << CS02) | (0 << CS01) | (1 << CS00); + /* io clock with prescaler 256; ctc (part 2) */ + TCCR0B = (1 << CS02) | (0 << CS01) | (0 << CS00); } void pwmStop () { |