batch fixing ](/microbit/ -> ](/ links

This commit is contained in:
Peli de Halleux
2016-04-13 08:27:45 -07:00
parent 2e49901a7e
commit d28efb3b84
517 changed files with 2235 additions and 2235 deletions

View File

@ -1,6 +1,6 @@
# Analog Write Pin
Write to the specified [pin](/microbit/device/pins) (P0, P1, P2) as analog.
Write to the specified [pin](/device/pins) (P0, P1, P2) as analog.
```sig
pins.analogWritePin(AnalogPin.P0, 400)
@ -8,8 +8,8 @@ pins.analogWritePin(AnalogPin.P0, 400)
### Parameters
* `name` - [String](/microbit/reference/types/string); the pin name ("P0", "P1", or "P2")
* `value` - a [Number](/microbit/reference/types/number) between 0 and 1023 included
* `name` - [String](/reference/types/string); the pin name ("P0", "P1", or "P2")
* `value` - a [Number](/reference/types/number) between 0 and 1023 included
The following code writes `1023` to the `P0` pin:
@ -19,5 +19,5 @@ pins.analogWritePin(AnalogPin.P0, 1023)
### See also
[micro:bit pins](/microbit/device/pins), [on pin pressed](/microbit/reference/input/on-pin-pressed), [analog read pin](/microbit/reference/pins/analog-read-pin), [digital read pin](/microbit/reference/pins/digital-read-pin), [digital write pin](/microbit/reference/pins/digital-write-pin)
[micro:bit pins](/device/pins), [on pin pressed](/reference/input/on-pin-pressed), [analog read pin](/reference/pins/analog-read-pin), [digital read pin](/reference/pins/digital-read-pin), [digital write pin](/reference/pins/digital-write-pin)