AnalogPin.P0 not supported

This commit is contained in:
Peli de Halleux
2016-11-10 13:08:45 -08:00
parent ce24e9d923
commit d6cc95112c
8 changed files with 20 additions and 20 deletions

View File

@ -4,7 +4,7 @@ Write an **analog** signal (`0` through `1023`) to the
[pin](/device/pins) you say.
```sig
pins.analogWritePin(AnalogPin.P0, 400)
pins.analogWritePin(AnalogPin.P1, 400)
```
### Parameters
@ -17,7 +17,7 @@ pins.analogWritePin(AnalogPin.P0, 400)
This program writes `1023` to pin `P0`.
```blocks
pins.analogWritePin(AnalogPin.P0, 1023)
pins.analogWritePin(AnalogPin.P1, 1023)
```
#### ~hint