From 70ff7350e7ff369ab81d1f55e6645a5828928385 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 2 May 2016 11:15:36 +0100 Subject: stmhal, cc3200: Change i2c.scan() method to scan addresses 0x08-0x77. A standard I2C address is 7 bits but addresses 0b0000xxx and 0b1111xxx are reserved. The scan() method is changed to reflect this, along with the docs. --- docs/library/machine.I2C.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/library/machine.I2C.rst b/docs/library/machine.I2C.rst index aa1caed20..d04ef5eef 100644 --- a/docs/library/machine.I2C.rst +++ b/docs/library/machine.I2C.rst @@ -106,7 +106,7 @@ Methods .. method:: i2c.scan() - Scan all I2C addresses from 0x01 to 0x7f and return a list of those that respond. + Scan all I2C addresses between 0x08 and 0x77 inclusive and return a list of those that respond. Only valid when in master mode. Constants -- cgit v1.2.3