I am testing using my new air quality 5 click sensor with my Raspberry Pi (https://www.mikroe.com/air-quality-5-click) using command line.
When I enter i2cdetect -y 1
it appears at address 48.
Then when I enter pigs i2co 1 0x30 0
It returns 0 as usual.
However when I try pigs i2crd 0 1
It returns
ERROR: I2C read failed
-83
I am not sure how many bytes the returned data is supposed to be, but there does not appear to be any being returned. I have tried a range of lengths(0-9, 0-122) and the error message did not change.
I am using a Raspberry Pi zero W V1.1 that has successfully used these same commands to get data from the previous version of this sensor (2 click) and I can’t find any other people who have had the same problem online. I have tried killall then restarting with pigpiod but no change.