Skip to content

Commit 6d5a549

Browse files
peterhinchdpgeorge
authored andcommitted
docs: Mention that pyb.SPI constructor accepts "X" and "Y" arguments.
1 parent b8133c4 commit 6d5a549

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/library/pyb.SPI.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ Constructors
3333

3434
.. class:: pyb.SPI(bus, ...)
3535

36-
Construct an SPI object on the given bus. ``bus`` can be 1 or 2.
37-
With no additional parameters, the SPI object is created but not
38-
initialised (it has the settings from the last initialisation of
36+
Construct an SPI object on the given bus. ``bus`` can be 1 or 2, or
37+
'X' or 'Y'. With no additional parameters, the SPI object is created but
38+
not initialised (it has the settings from the last initialisation of
3939
the bus, if any). If extra arguments are given, the bus is initialised.
4040
See ``init`` for parameters of initialisation.
4141

0 commit comments

Comments
 (0)