summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/pyb.SPI.rst
diff options
context:
space:
mode:
authorPeter Hinch <peter@hinch.me.uk>2016-03-17 13:14:16 +0000
committerDamien George <damien.p.george@gmail.com>2016-03-17 20:19:08 +0000
commit6d5a54906762a8e52ebdc47349f7db554687d2e3 (patch)
treeb0875ec22e45c02a02eccacaf7c27a2c13d11f1a /docs/library/pyb.SPI.rst
parentb8133c4c0f70c5294c0423562e2541505b963c9b (diff)
downloadmicropython-6d5a54906762a8e52ebdc47349f7db554687d2e3.tar.gz
micropython-6d5a54906762a8e52ebdc47349f7db554687d2e3.zip
docs: Mention that pyb.SPI constructor accepts "X" and "Y" arguments.
Diffstat (limited to 'docs/library/pyb.SPI.rst')
-rw-r--r--docs/library/pyb.SPI.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/library/pyb.SPI.rst b/docs/library/pyb.SPI.rst
index 73783c7d57..b17c804d70 100644
--- a/docs/library/pyb.SPI.rst
+++ b/docs/library/pyb.SPI.rst
@@ -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.