diff options
author | Peter Hinch <peter@hinch.me.uk> | 2018-09-20 13:48:52 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-09-26 15:21:10 +1000 |
commit | 09c5c58a1f797f3eeaf5088b7d6ef92d86c26532 (patch) | |
tree | 0829e69c095c02a4986755ac53759b150e7f8c42 | |
parent | af2030dec65e3edc276801382b0c4847268f0397 (diff) |
docs/library/machine.SPI: Add note about baudrate imprecision.
-rw-r--r-- | docs/library/machine.SPI.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/library/machine.SPI.rst b/docs/library/machine.SPI.rst index 080f6fdfb..a9fcc719c 100644 --- a/docs/library/machine.SPI.rst +++ b/docs/library/machine.SPI.rst @@ -47,6 +47,10 @@ Methods - ``pins`` - WiPy port doesn't ``sck``, ``mosi``, ``miso`` arguments, and instead allows to specify them as a tuple of ``pins`` parameter. + In the case of hardware SPI the actual clock frequency may be lower than the + requested baudrate. This is dependant on the platform hardware. The actual + rate may be determined by printing the SPI object. + .. method:: SPI.deinit() Turn off the SPI bus. |