You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a error starting test.py script from this repo because this script have to run MQ2.py (this is sensor I use in my case) and BaseMQ.py from same root folder. I use ESP8266 Lolin microcontroller with Micropython framework.
test.py have to be modify to work as this:
I found a error starting test.py script from this repo because this script have to run MQ2.py (this is sensor I use in my case) and BaseMQ.py from same root folder. I use ESP8266 Lolin microcontroller with Micropython framework.
test.py have to be modify to work as this:
Test for MQ-series drivers
from MQ2 import MQ2
import utime
class App:
def init(self, pin = 0):
self.sensor = MQ2(pinData = pin, baseVoltage = 3.3)
App().Run()
The text was updated successfully, but these errors were encountered: