mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
docs/pyb.Pin: Minor typo fix to specify Pin in pyb.Pin.cpu.
This commit is contained in:
committed by
Damien George
parent
5e5aef53fb
commit
b031b6f4dd
@@ -17,7 +17,7 @@ All Board Pins are predefined as pyb.Pin.board.Name::
|
||||
g = pyb.Pin(pyb.Pin.board.X1, pyb.Pin.IN)
|
||||
|
||||
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.Pin.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
|
||||
``pyb.Pin.cpu.A0`` are the same pin.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user