summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/containment.py
diff options
context:
space:
mode:
authorRadomir Dopieralski <openstack@sheep.art.pl>2016-10-08 17:34:46 +0200
committerDamien George <damien.p.george@gmail.com>2016-10-11 15:30:46 +1100
commiteaef6b5324fa2ff425802d4abeea45aa945bfc14 (patch)
treec88efbe8c9e09b7fcab8d32a41424eefc30a2ab9 /tests/basics/containment.py
parent9e1dec181806d7cd34b5dfec8cdce4c41b39ab53 (diff)
downloadmicropython-eaef6b5324fa2ff425802d4abeea45aa945bfc14.tar.gz
micropython-eaef6b5324fa2ff425802d4abeea45aa945bfc14.zip
extmod/machine_i2c: Use writes not reads in i2c.scan().
As per discussion in #2449, using write requests instead of read requests for I2C.scan() seems to support a larger number of devices, especially ones that are write-only. Even a read-only I2C device has to implement writes in order to be able to receive the address of the register to read.
Diffstat (limited to 'tests/basics/containment.py')
0 files changed, 0 insertions, 0 deletions