MQ135
MQ135 copied to clipboard
Issue reading the MQ135 values.
trafficstars
I am using MQ135 with ESP32. Whenever I try to take the readings, I am getting an error : "ValueError: expecting a pin"
Any help will be appreciated. Thanks in advance!
When you provide pin e.g. 4 to MQ135(), you have to provide it as MQ135(Pin(4))