mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
docs/library/pyb.Pin: Minor typo fix, B6 should be A0.
On the PYBv1.0, X1 maps to A0, not B6.
This commit is contained in:
committed by
Damien George
parent
39100dc377
commit
2f76c3ca0a
@@ -21,7 +21,7 @@ Usage Model:
|
|||||||
CPU pins which correspond to the board pins are available
|
CPU pins which correspond to the board pins are available
|
||||||
as ``pyb.cpu.Name``. For the CPU pins, the names are the port letter
|
as ``pyb.cpu.Name``. For the CPU pins, the names are the port letter
|
||||||
followed by the pin number. On the PYBv1.0, ``pyb.Pin.board.X1`` and
|
followed by the pin number. On the PYBv1.0, ``pyb.Pin.board.X1`` and
|
||||||
``pyb.Pin.cpu.B6`` are the same pin.
|
``pyb.Pin.cpu.A0`` are the same pin.
|
||||||
|
|
||||||
You can also use strings::
|
You can also use strings::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user