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
Copy file name to clipboardExpand all lines: content/hardware/03.nano/boards/nano-r4/tutorials/01.user-manual/content.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -746,7 +746,7 @@ The Nano R4 board provides PWM functionality on the following pins:
746
746
|`D10`|`P103`| Channel 2A | Digital I/O, SPI CS |
747
747
|`D11`|`P101`| Channel 5A | Digital I/O, SPI MOSI |
748
748
749
-
***__Important note:__ Pins `A4` and `A5` also have PWM capability but are primarily used for I2C communication (SDA and SCL respectively). The onboard LEDs (`LEDR`, `LEDG`, `LEDB`, `LED_BUILTIN`) also support PWM for brightness control.***
749
+
***__Important notes__: Pins `D3` and `D9` share the same PWM channel (`Channel 0B`) and cannot be used for PWM simultaneously. When using PWM on one of these pins, the other cannot output an independent PWM signal. Similarly, pins `D6`, `D3`, and `D9` all use timer `GPT0`, which means they will share the same PWM frequency setting. The onboard LEDs (`LEDR`, `LEDG`, `LEDB`, `LED_BUILTIN`) also support PWM for brightness control.***
750
750
751
751
The Nano R4's PWM offers the following technical specifications:
752
752
@@ -761,7 +761,7 @@ You can use PWM pins as analog output pins with the `analogWrite()` function:
761
761
analogWrite(pin, value);
762
762
```
763
763
764
-
**By default, the resolution is 8-bit (0 to 255)**. You can use analogWriteResolution() to change this, supporting up to 16-bit (0 to 65535) resolution:
764
+
**By default, the resolution is 8-bit (0 to 255)**. You can use the `analogWriteResolution()` resolution to change this, supporting up to 16-bit (0 to 65535) resolution:
0 commit comments