Skip to content

Commit 2cf4cf7

Browse files
committed
Update PWM pins list
1 parent 0da0ec0 commit 2cf4cf7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

readme.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ board.MODES;
9191

9292
**pinMode(pin, MODE)**
9393

94-
> Set a pin's mode to any one of the MODES. PWM is supported on A0, A1, A4, A5, A6, A7, D0 and D1.
94+
> Set a pin's mode to any one of the MODES.
9595
9696
Example:
9797
```js
@@ -108,6 +108,10 @@ board.on("ready", function() {
108108
});
109109
```
110110

111+
PWM Support (Servo support is also limited to these pins):
112+
- Core pins: A0, A1, A4, A5, A6, A7, D0, D1.
113+
- Photon pins: A4, A5, D0, D1, D2, D3
114+
- P1 pins: A4, A5, D0, D1, D2, D3
111115

112116

113117
**digitalWrite(pin, value)**

0 commit comments

Comments
 (0)