docs: Mention that pyb.SPI constructor accepts "X" and "Y" arguments.

pull/1909/merge
Peter Hinch 2016-03-17 13:14:16 +00:00 zatwierdzone przez Damien George
rodzic b8133c4c0f
commit 6d5a549067
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -33,9 +33,9 @@ Constructors
.. class:: pyb.SPI(bus, ...)
Construct an SPI object on the given bus. ``bus`` can be 1 or 2.
With no additional parameters, the SPI object is created but not
initialised (it has the settings from the last initialisation of
Construct an SPI object on the given bus. ``bus`` can be 1 or 2, or
'X' or 'Y'. With no additional parameters, the SPI object is created but
not initialised (it has the settings from the last initialisation of
the bus, if any). If extra arguments are given, the bus is initialised.
See ``init`` for parameters of initialisation.