We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2093bbb commit 5cf7485Copy full SHA for 5cf7485
docs/spi.rst
@@ -53,9 +53,10 @@ Functions
53
The ``sclk``, ``mosi`` and ``miso`` arguments specify the pins to use for
54
each type of signal.
55
56
-.. method:: spi.read(nbytes)
+.. method:: spi.read(nbytes, write=0)
57
58
- Read at most ``nbytes``. Returns what was read.
+ Read at most ``nbytes`` while continuously writing the single byte given by
59
+ ``write``. Returns what was read.
60
61
.. method:: spi.write(buffer)
62
0 commit comments