micropython-Chinese-Community/mpy-lib

Error running the bmp280.py

Opened this issue · 2 comments

I am having an error trying to run the test for the bmp280 sensor. This is the error showing:

File "bmp280.py", line 9, in init
File "bmp280.py", line 45, in get2Reg
File "bmp280.py", line 41, in getReg
OSError: [Errno 19] ENODEV

How do I solve this? Thanks

same

It mabye i2c bus error, please use i2c.scan() first to ensure bus connect correctly.

And SDO signal affects i2c address setting, please refer to the instructions in the readme.