micropython-MQ icon indicating copy to clipboard operation
micropython-MQ copied to clipboard

Math Domain Error

Open NahianMugdho opened this issue 2 years ago • 0 comments

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()

NahianMugdho avatar Nov 17 '22 16:11 NahianMugdho