docs/library/machine.SPI: Add note about baudrate imprecision.

This commit is contained in:
Peter Hinch 2018-09-20 13:48:52 +01:00 committed by Damien George
parent af2030dec6
commit 09c5c58a1f

View File

@ -47,6 +47,10 @@ Methods
- ``pins`` - WiPy port doesn't ``sck``, ``mosi``, ``miso`` arguments, and instead allows to - ``pins`` - WiPy port doesn't ``sck``, ``mosi``, ``miso`` arguments, and instead allows to
specify them as a tuple of ``pins`` parameter. 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() .. method:: SPI.deinit()
Turn off the SPI bus. Turn off the SPI bus.