Skip to content

Commit 49450b2

Browse files
authored
Merge pull request #647 from per1234/analogwrite-rectangular-wave
Use correct term for the waveform generated by analogWrite()
2 parents 0cac46f + cd7bcc7 commit 49450b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Language/Functions/Analog IO/analogWrite.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Analog I/O" ]
1717

1818
[float]
1919
=== Description
20-
Writes an analog value (http://arduino.cc/en/Tutorial/PWM[PWM wave]) to a pin. Can be used to light a LED at varying brightnesses or drive a motor at various speeds. After a call to `analogWrite()`, the pin will generate a steady square wave of the specified duty cycle until the next call to `analogWrite()` (or a call to `digitalRead()` or `digitalWrite()`) on the same pin.
20+
Writes an analog value (http://arduino.cc/en/Tutorial/PWM[PWM wave]) to a pin. Can be used to light a LED at varying brightnesses or drive a motor at various speeds. After a call to `analogWrite()`, the pin will generate a steady rectangular wave of the specified duty cycle until the next call to `analogWrite()` (or a call to `digitalRead()` or `digitalWrite()`) on the same pin.
2121
[options="header"]
2222
|====================================================================================================
2323
| Board | PWM Pins | PWM Frequency

0 commit comments

Comments
 (0)