shaoziyang / microbit-lib

all kinds of microbit python drives, libs, examples, etc.
MIT License
48 stars 39 forks source link

Microbit with BM280 #9

Open G-Boronad opened 2 years ago

G-Boronad commented 2 years ago

Hi, Thanks for your work. I really appreciate your librarys for microbit and Python I've got an error with BMP280 sensor and microbit:

File "bmp280.py", line 51, in _g2r OSError: I2C write error -1010

Could you help me to solve it? G.B

shaoziyang commented 2 years ago

Can you give more information about it? It is work in microbit v1, but I have not test it in microbit v2.

G-Boronad commented 2 years ago

Thanks for your help, I found the issue, the sensor adress was not the good one.

I've got another question, do you know if a DS18B20 temperature sensor can works with Microbit (V1 or V2)and Python? Thanks for all. G.B