Closed thegreenlion42 closed 7 months ago
now on rpi pico instead of esp8266...
Traceback (most recent call last): File "", line 7, in File "mhz19.py", line 56, in get_data File "mhz19.py", line 77, in crc8 IndexError: bytearray index out of range
Did you ever get it working on the pico?
Not with this library, to make the sensor work on the Pico I had to write my own code, based on this library and the documentation of the sensor.
now on rpi pico instead of esp8266...
Traceback (most recent call last): File "", line 7, in
File "mhz19.py", line 56, in get_data
File "mhz19.py", line 77, in crc8
IndexError: bytearray index out of range