You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to microbit and I want to use it (v2) to read data from a sensor via i2c protocol.
I'm using the Microsoft MakeCode website to program the microbit.
Since I did not see any blocks to initialize and scan i2c connected sensors, I'm using micropython according to the documentation here
However, there are errors saying that the i2c is unkown and can not find function init(), as depicted in the image below:
What am I missing here?
The text was updated successfully, but these errors were encountered:
I'm new to microbit and I want to use it (v2) to read data from a sensor via i2c protocol.
I'm using the Microsoft MakeCode website to program the microbit.
Since I did not see any blocks to initialize and scan i2c connected sensors, I'm using micropython according to the documentation here
However, there are errors saying that the i2c is unkown and can not find function init(), as depicted in the image below:
What am I missing here?
The text was updated successfully, but these errors were encountered: