Unverified Commit 58081c05 authored by Martino Facchin's avatar Martino Facchin Committed by GitHub

Merge pull request #337 from Max-Leopold/patch-1

Correct comment on wiring_analog.c
parents 0f3d4da6 4438bb7f
......@@ -164,7 +164,7 @@ void analogWrite(uint8_t pin, int val)
#if defined(TCCR1A) && defined(COM1C1)
case TIMER1C:
// connect pwm to pin on timer 1, channel B
// connect pwm to pin on timer 1, channel C
sbi(TCCR1A, COM1C1);
OCR1C = val; // set pwm duty
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment