Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i2c unknown #809

Open
pmendoncaphysics opened this issue Nov 13, 2024 · 0 comments
Open

i2c unknown #809

pmendoncaphysics opened this issue Nov 13, 2024 · 0 comments

Comments

@pmendoncaphysics
Copy link

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:

image

What am I missing here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant