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 5627662

Browse files
Content review (Taddy's review)
1 parent 4d01400 commit 5627662

File tree

1 file changed

+2
-2
lines changed
  • content/hardware/03.nano/boards/nano-r4/tutorials/01.user-manual

1 file changed

+2
-2
lines changed

‎content/hardware/03.nano/boards/nano-r4/tutorials/01.user-manual/content.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ The Nano R4 board provides PWM functionality on the following pins:
746746
| `D10` | `P103` | Channel 2A | Digital I/O, SPI CS |
747747
| `D11` | `P101` | Channel 5A | Digital I/O, SPI MOSI |
748748

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.***
750750

751751
The Nano R4's PWM offers the following technical specifications:
752752

@@ -761,7 +761,7 @@ You can use PWM pins as analog output pins with the `analogWrite()` function:
761761
analogWrite(pin, value);
762762
```
763763

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:
765765

766766
```arduino
767767
analogWriteResolution(resolution);

0 commit comments

Comments
(0)

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