Raspberry Pi Pico connected via USB and opened in Thonny. Files were unchanged and copied to the Pico.
1: with line 4 in I2C example (from README.md) being
from bmp280 import BMP280I2C
following error is shown:
Traceback (most recent call last):
File "stdin", line 4, in module
ImportError: can't import name BMP280I2C
- when changing line 4 to
from bmp280_i2c import BMP280I2C
following errors pop up:
Traceback (most recent call last):
File "stdin", line 9, in module
File "bmp280_i2c.py", line 13, in init
File "bmp280.py", line 13, in init
File "bmp280.py", line 83, in configuration
File "bmp280.py", line 88, in reset
File "bmp280_i2c.py", line 17, in _write
OSError: [Errno 5] EIO
Is the problem between this user's ears?
PS: brackets for stdin and module removed. Underlines for init do not show.