Skip to content
Snippets Groups Projects
Commit 6d5a5490 authored by Peter Hinch's avatar Peter Hinch Committed by Damien George
Browse files

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

parent b8133c4c
No related branches found
No related tags found
No related merge requests found
...@@ -33,9 +33,9 @@ Constructors ...@@ -33,9 +33,9 @@ Constructors
.. class:: pyb.SPI(bus, ...) .. class:: pyb.SPI(bus, ...)
Construct an SPI object on the given bus. ``bus`` can be 1 or 2. Construct an SPI object on the given bus. ``bus`` can be 1 or 2, or
With no additional parameters, the SPI object is created but not 'X' or 'Y'. With no additional parameters, the SPI object is created but
initialised (it has the settings from the last initialisation of not initialised (it has the settings from the last initialisation of
the bus, if any). If extra arguments are given, the bus is initialised. the bus, if any). If extra arguments are given, the bus is initialised.
See ``init`` for parameters of initialisation. See ``init`` for parameters of initialisation.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment