You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`analogWriteResolution()` sets the resolution of the `analogWrite()` function. It defaults to 8 bits (values between 0-255) for backward compatibility with AVR based boards.
23
23
24
-
The *Due* has the following hardare capabilities:
24
+
The *Due* has the following hardware capabilities:
25
25
26
26
* 12 pins which default to 8-bit PWM, like the AVR-based boards. These can be changed to 12-bit resolution.
27
27
* 2 pins with 12-bit DAC (Digital-to-Analog Converter)
28
28
29
29
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.
30
30
31
31
32
-
The *Zero* has the following hardare capabilities:
32
+
The *Zero* has the following hardware capabilities:
33
33
34
34
* 10 pins which default to 8-bit PWM, like the AVR-based boards. These can be changed to 12-bit resolution.
35
35
* 1 pin with 10-bit DAC (Digital-to-Analog Converter).
36
36
37
37
By setting the write resolution to 10, you can use `analogWrite()` with values between 0 and 1023 to exploit the full DAC resolution
38
38
39
39
40
-
The *MKR Family* of boards has the following hardare capabilities:
40
+
The *MKR Family* of boards has the following hardware capabilities:
41
41
42
42
* 4 pins which default to 8-bit PWM, like the AVR-based boards. These can be changed from 8 (default) to 12-bit resolution.
43
43
* 1 pin with 10-bit DAC (Digital-to-Analog Converter)
0 commit comments