From fb981107eb6eef3af2b7a6b1c8da53e95c316e86 Mon Sep 17 00:00:00 2001 From: transistortim Date: Sun, 19 Mar 2017 00:09:58 +0100 Subject: [PATCH] docs/library/machine.I2C: Fix scan() doc to match implementation. Since eaef6b5324fa2ff425802d4abeea45aa945bfc14 writes are used instead of reads. --- docs/library/machine.I2C.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/library/machine.I2C.rst b/docs/library/machine.I2C.rst index cdeb246ebb..45944709ef 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.