Welcome, Guest

Author Topic: MOD-WIFI-ESP8266(REV.B) and the button  (Read 217 times)

Chis

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
MOD-WIFI-ESP8266(REV.B) and the button
« on: November 03, 2018, 03:59:36 PM »
I am using a MOD-WIFI-ESP8266(REV.B) board with the button. Can I use that button when the program is running to perform some action after the button is pressed?

LubOlimex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1817
  • Karma: +46/-2
Re: MOD-WIFI-ESP8266(REV.B) and the button
« Reply #1 on: November 05, 2018, 01:08:42 PM »
Yes.

The button is connected to GPIO0 which is also used for initial boot configuration. When GPIO0 is in low/GND position then the serial bootloader mode would trigger (for serial upload); when GPIO0 is high/VCC then normal execution mode would start. Once the board boots in the desired mode, the button can be used as general-purpose button.
Technical support and documentation manager at Olimex