micropython-MQ
micropython-MQ copied to clipboard
Math Domain Error
Why I'm getting a math domain error using ESP 32? Can anyone please help me in this case? my code-
from BaseMQ import BaseMQ
from MQ2 import MQ2
from machine import Pin,ADC,Timer
met=MQ2(13)
a=met.readLPG()