itead / Sonoff_Devices_DIY_Tools

BSD 3-Clause "New" or "Revised" License
548 stars 168 forks source link

Using DIY jumper as a GPIO in/output? #42

Open rlajos opened 4 years ago

rlajos commented 4 years ago

I would like to know if the DIY jumper could be used as a GPIO input? I could flash in with Tasmota on a Mac using https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-DIY#manual-flash and interested if I can use it for an extra switch or button? Best,

Lajos

rradar commented 4 years ago

sure, why not @rlajos ? Once you got finally rid of itead firmware (:hankey:) you are free to do anything!

rlajos commented 4 years ago

Sounds good! Any further details which GPIO, pull up or down resistor, etc?

rradar commented 4 years ago

I think it's gpio (as stated here: https://esphome.io/devices/sonoff.html#sonoff-mini) and pull up / pull down software wise as required