code.py output:
Traceback (most recent call last):
File "code.py", line 19, in <module>
File "/lib/adafruit_scd30.py", line 66, in __init__
File "/lib/adafruit_scd30.py", line 93, in measurement_interval
File "/lib/adafruit_scd30.py", line 221, in _send_command
File "/lib/adafruit_scd30.py", line 221, in _send_command
File "adafruit_bus_device/i2c_device.py", line 84, in write
OSError: [Errno 5] Input/output error
Code done running.
The weirdest part about it is that sometimes it randomly works but most of the time I get this error. I've found that sometimes if I jiggle the stemma qt cable a tiny bit at the side connecting to the magtag sometimes that fixes it but not usually and it could be coincidental. I've tried using other cables and it doesn't change anything.
Other times it will work consistently for a little while then just randomly stop working at all and gives the above error.
Could this be a connector issue?