mpy-lib icon indicating copy to clipboard operation
mpy-lib copied to clipboard

Error running the bmp280.py

Open henriquebrnetto opened this issue 3 years ago • 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

henriquebrnetto avatar Jun 16 '22 12:06 henriquebrnetto

same

ONE1CHINA avatar Oct 19 '22 21:10 ONE1CHINA

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.

shaoziyang avatar Oct 20 '22 00:10 shaoziyang