Skip to content

Info Request regarding an ERROR #2

@AnjanaEmani

Description

@AnjanaEmani

Hi,
I am working with ESP32 and MQ2 gas sensor using Micropython.
In the main code i.e. test.py , an error regarding pin assignment is thrown and I am unable to fix it. I have tried ways and means for that. But still it persists.

_

Traceback (most recent call last):
File "", line 24, in
File "", line 9, in init
File "MQ2.py", line 13, in init
File "BaseMQ.py", line 58, in init
ValueError: expecting a pin

_

What could be the probable reason. Could you please help me out with this.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions