Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4438bb7

Browse files
Update comment on wiring_analog.c
1 parent 0f3d4da commit 4438bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cores/arduino/wiring_analog.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ void analogWrite(uint8_t pin, int val)
164164

165165
#if defined(TCCR1A) && defined(COM1C1)
166166
case TIMER1C:
167-
// connect pwm to pin on timer 1, channel B
167+
// connect pwm to pin on timer 1, channel C
168168
sbi(TCCR1A, COM1C1);
169169
OCR1C = val; // set pwm duty
170170
break;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /