Search found 2 matches

by gorbak
Sat Sep 29, 2018 6:23 pm
Forum: micro:bit boards
Topic: AttributeError: 'MicroBitI2C' object has no attribute 'scan'
Replies: 3
Views: 4499

Re: AttributeError: 'MicroBitI2C' object has no attribute 'scan'

Cool. And thanks so much for the quick reply. I see lots of references to micropython 1.9.2, so I suspected that might be the case. So, presumably the docs on https://microbit-micropython.readthedocs.io/en/latest/ cover micropython v1.9.2 (or something similar) for microbit. But https://codewith.mu/...
by gorbak
Sat Sep 29, 2018 1:21 pm
Forum: micro:bit boards
Topic: AttributeError: 'MicroBitI2C' object has no attribute 'scan'
Replies: 3
Views: 4499

AttributeError: 'MicroBitI2C' object has no attribute 'scan'

I'm just trying to get started with i2c on the micro:bit. I'm using Mu and have entered this simple program... from microbit import * print(i2c.scan()) And I'm getting this error.... Traceback (most recent call last): File "__main__", line 3, in <module> AttributeError: 'MicroBitI2C' object has no a...