Skip to content

Commit 2eaf1e1

Browse files
author
SimonePDA
authored
Update analogWriteResolution.adoc
Corrected a typo
1 parent b14d025 commit 2eaf1e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Language/Functions/Zero, Due & MKR Family/analogWriteResolution.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@ subCategories: [ "Zero, Due & MKR Family" ]
2121

2222
`analogWriteResolution()` sets the resolution of the `analogWrite()` function. It defaults to 8 bits (values between 0-255) for backward compatibility with AVR based boards.
2323

24-
The *Due* has the following hardare capabilities:
24+
The *Due* has the following hardware capabilities:
2525

2626
* 12 pins which default to 8-bit PWM, like the AVR-based boards. These can be changed to 12-bit resolution.
2727
* 2 pins with 12-bit DAC (Digital-to-Analog Converter)
2828

2929
By setting the write resolution to 12, you can use `analogWrite()` with values between 0 and 4095 to exploit the full DAC resolution or to set the PWM signal without rolling over.
3030

3131

32-
The *Zero* has the following hardare capabilities:
32+
The *Zero* has the following hardware capabilities:
3333

3434
* 10 pins which default to 8-bit PWM, like the AVR-based boards. These can be changed to 12-bit resolution.
3535
* 1 pin with 10-bit DAC (Digital-to-Analog Converter).
3636

3737
By setting the write resolution to 10, you can use `analogWrite()` with values between 0 and 1023 to exploit the full DAC resolution
3838

3939

40-
The *MKR Family* of boards has the following hardare capabilities:
40+
The *MKR Family* of boards has the following hardware capabilities:
4141

4242
* 4 pins which default to 8-bit PWM, like the AVR-based boards. These can be changed from 8 (default) to 12-bit resolution.
4343
* 1 pin with 10-bit DAC (Digital-to-Analog Converter)

0 commit comments

Comments
 (0)