summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortransistortim <tim@th3t.de>2017-03-19 00:09:58 +0100
committerDamien George <damien.p.george@gmail.com>2017-03-20 15:30:41 +1100
commitfb981107eb6eef3af2b7a6b1c8da53e95c316e86 (patch)
treed2c05d5cf2066d46a47415ca3b8c17c9746e2d95
parent74faf4c5fc2245e33a0deed840716a36249eb683 (diff)
docs/library/machine.I2C: Fix scan() doc to match implementation.
Since eaef6b5324fa2ff425802d4abeea45aa945bfc14 writes are used instead of reads.
-rw-r--r--docs/library/machine.I2C.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/machine.I2C.rst b/docs/library/machine.I2C.rst
index cdeb246eb..45944709e 100644
--- a/docs/library/machine.I2C.rst
+++ b/docs/library/machine.I2C.rst
@@ -100,7 +100,7 @@ General Methods
Scan all I2C addresses between 0x08 and 0x77 inclusive and return a list of
those that respond. A device responds if it pulls the SDA line low after
- its address (including a read bit) is sent on the bus.
+ its address (including a write bit) is sent on the bus.
Note: on WiPy the I2C object must be in master mode for this method to be valid.