MQ135 icon indicating copy to clipboard operation
MQ135 copied to clipboard

Issue reading the MQ135 values.

Open quatromod opened this issue 3 years ago • 1 comments
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!

quatromod avatar Apr 08 '22 19:04 quatromod

When you provide pin e.g. 4 to MQ135(), you have to provide it as MQ135(Pin(4))

zhemant avatar Aug 01 '22 14:08 zhemant