stefanbode / Sonoff-Tasmota

Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE, enhanced with I2C options
GNU General Public License v3.0
127 stars 41 forks source link

How compile for sensor mq-2 newbie #138

Closed ricain59 closed 5 years ago

ricain59 commented 5 years ago

<<<<<<< HEAD

IMPORTANT NOTICE If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.

FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED

8f585b7f5354b19aff4bc6d1f238df4588d5693f Make sure these boxes are checked [x] before submitting your issue - Thank you!

(Please, remember to close the issue when the problem has been addressed)

Hi,

I've try compiled for mq-2 but i'm not found where change code in https://github.com/stefanbode/Sonoff-Tasmota/blob/master/sonoff/xsns_94_MQ_SENSOR.ino

Thank you for help.

stefanbode commented 5 years ago

Please look in the main branch how to use a user_config_override. Set there USE_MQ_SENSOR 1 This works like any other sensor.