If you are desperate to get it running, I have forked the micropython-m5stamp-c3u library and removed the QMP6988 reset().
Unfortunately I have not found a way to override the built-in libraries, so it needs some code blocks in UiFlow...
First install the libraries:
import mip
mip.install("https://raw.githubusercontent.com/AmedeeBulle/micropython-m5stamp-c3u/main/lib/sht30.py", target="/flash/libs")
mip.install("https://raw.githubusercontent.com/AmedeeBulle/micropython-m5stamp-c3u/main/lib/checksum.py", target="/flash/libs")
mip.install("https://raw.githubusercontent.com/AmedeeBulle/micropython-m5stamp-c3u/main/lib/qmp6988.py", target="/flash/libs")
Once done you can query both sensors -- e.g:
There are basically 3 code blocks:
Import libraries:
import sht30
import qmp6988
Initialize sensors:
sht = sht30.SHT30(i2c0)
qmp = qmp6988.QMP6988(i2c0)
Get data:
temperature, pressure = qmp.measure()
pressure = pressure / 100
temperature2, humidity = sht.measure()
Note that in the above example, my ENV-III is plugged in the Port B, if you use Port A, adjust SCL/SDA accordingly!