Unverified Commit 4438bb7f authored by Maximilian Leopold's avatar Maximilian Leopold Committed by GitHub

Update comment on wiring_analog.c

parent 0f3d4da6
...@@ -164,7 +164,7 @@ void analogWrite(uint8_t pin, int val) ...@@ -164,7 +164,7 @@ void analogWrite(uint8_t pin, int val)
#if defined(TCCR1A) && defined(COM1C1) #if defined(TCCR1A) && defined(COM1C1)
case TIMER1C: case TIMER1C:
// connect pwm to pin on timer 1, channel B // connect pwm to pin on timer 1, channel C
sbi(TCCR1A, COM1C1); sbi(TCCR1A, COM1C1);
OCR1C = val; // set pwm duty OCR1C = val; // set pwm duty
break; 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