rename micro:bit to @boardname@

This commit is contained in:
Peli de Halleux
2016-11-01 17:44:37 -07:00
parent 9bc1e38345
commit 89406330cf
226 changed files with 697 additions and 750 deletions

View File

@ -2,12 +2,12 @@
Configure the electrical pull of the specified pin.
Many micro:bit pins can be configured as _pull-ups_. For example, a
Many @boardname@ pins can be configured as _pull-ups_. For example, a
pull-up can set a pin's voltage to high (3.3 volts, or `1` when
calling [digital read pin](/reference/pins/digital-read-pin)). If one
end of a button is connected to ``P0`` (set to high) and the other end
is connected to ``GND`` (0 volts), then when you press the button,
``P0`` is driven to 0 volts, and the micro:bit software can detect a
``P0`` is driven to 0 volts, and the @boardname@ software can detect a
button press.
```sig
@ -16,7 +16,7 @@ pins.setPull(DigitalPin.P9, PinPullMode.PullDown);
### Parameters
* ``name``: The micro:bit hardware pin to configure (``P0``-``P20``)
* ``name``: The @boardname@ hardware pin to configure (``P0``-``P20``)
* ``pull``: The pull to which to set the pin (**down**, **up**, or **none**)
### Example