Closed gigapod closed 1 month ago
Tested examples on XRP, the driver appears to work fine.
Examples are numbered 1,4,5. I believe this is intended to match the Arduino examples, but it's confusing IMO.
Got a ValueError: math domain error
on line 577 of the library. Just before, the pressure was reported as -21234. Running the example a second time worked fine. I'm guessing the library needs to wait a bit before reading from the sensor (data registers likely have garbage default values).
Tested on XBee as well, not working due to math
of all things not being included in the XBee MicroPython port. Waiting to hear back about whether math
will be included in a future MPY port.
Looks good. Tested installing from mip with mpremote mip install github:sparkfun/Qwiic_BME280_Py
and it appears to have properly installed the files for this package as well as the qwiic_i2c_py dependency package.
Board
SparkFun qwiic BME 280
Notes
Driver