diff --git a/docs/spi.rst b/docs/spi.rst index 56c754675..ffd177f9b 100644 --- a/docs/spi.rst +++ b/docs/spi.rst @@ -53,9 +53,10 @@ Functions The ``sclk``, ``mosi`` and ``miso`` arguments specify the pins to use for each type of signal. -.. method:: spi.read(nbytes) +.. method:: spi.read(nbytes, out=0) - Read at most ``nbytes``. Returns what was read. + Read at most ``nbytes`` while continuously writing the single byte given by + ``out``. Returns what was read. .. method:: spi.write(buffer)