How can I use the ESP's onboard led?

Q: How can I control the onboard led?

Answer: The led is connected to GPIO2.

But be pay attention: some suppliers use other pins. This works on my ESP-12F's and o some ESP-12E's.

 

 small shield for ESP12F

small-esp12F-shield

the onboard LED on my ESP-12E module is connected to GPIO2 pin (thru 470 Ohm internal resistor). - See more at: http://www.esp8266.com/viewtopic.php?f=27&t=4576#sthash.GsOevXl3.dpuf
the onboard LED on my ESP-12E module is connected to GPIO2 pin (thru 470 Ohm internal resistor). - See more at: http://www.esp8266.com/viewtopic.php?f=27&t=4576#sthash.GsOevXl3.dpuf
the onboard LED on my ESP-12E module is connected to GPIO2 pin (thru 470 Ohm internal resistor). - See more at: http://www.esp8266.com/viewtopic.php?f=27&t=4576#sthash.GsOevXl3.dpuf
the onboard LED on my ESP-12E module is connected to GPIO2 pin (thru 470 Ohm internal resistor). - See more at: http://www.esp8266.com/viewtopic.php?f=27&t=4576#sthash.GsOevXl3.dpuf
I just found out that the onboard LED on my ESP-12E module is connected to GPIO2 pin (thru 470 Ohm internal resistor). - See more at: http://www.esp8266.com/viewtopic.php?f=27&t=4576#sthash.GsOevXl3.dpuf
I just found out that the onboard LED on my ESP-12E module is connected to GPIO2 pin (thru 470 Ohm internal resistor). - See more at: http://www.esp8266.com/viewtopic.php?f=27&t=4576#sthash.GsOevXl3.dpuf

Copyright © 2018 site Pieter Verhees. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License.