Datasheet
Table Of Contents
- Guide Contents
- Overview
- Pinouts
- Power Pins
- Logic pins
- Serial pins
- I2C & SPI pins
- GPIO pins
- Analog Pins
- Other control pins
- NC Pins
- Assembly
- Header Options!
- Soldering in Plain Headers
- Soldering on Female Header
- Power Management
- Battery + USB Power
- Power supplies
- Measuring Battery
- ENable pin
- Using NodeMCU Lua
- Open up serial console
- Hello world!
- Scanning & Connecting to WiFi
- WebClient example
- Using Arduino IDE
- Install the Arduino IDE 1.6.8 or greater
- Setup ESP8266 Support
- Blink Test
- Connecting via WiFi
- Downloads
- Datasheets & Files
- More info about the ESP8266
- Schematic
- Fabrication Print
- ESP8266 F.A.Q.
- When I connect stuff to some of the pins, the Huzzah stops working. Whats up with that?
- My Huzzah board keeps crashing and resetting, whats up with that?
- I can't seem to find the Serial port on my computer for the Feather HUZZAH?
- I still can't seem to find the Serial port on my computer for the Feather Huzzah!
- So, I’m getting a 'no such file' error compiling for ESP8266 on my Mac
- Whenever I start or reset the ESP8226 there's a bunch of "gibberish" on the Serial console
- I'm having difficulties uploading to the HUZZAH with the Arduino IDE
- I tried that, but I'm still having difficulties uploading with the Arduino IDE
- I'm stuck in bootloader mode and can't upload
- I can't get Lua to respond to my commands

So to set the pin #0 LED on and off (which would be pin #3 in Lua) first make it an output:
Turn the LED on with:
And off with:
You can make this a little more automated by running a longer script.
For longer text, pasting can be difficult as the lua interpreter needs a little delay time between characters and also
require CR-LF settings. For that reason you may want to paste each line and then hit return manually.
Pin Notes PCB/Arduino NodeMCU/Lua
No pullups! 0 3
2 4
3 9
4 1
5 2
9 11
10 12
12 6
13 7
14 5
15 8
16 0
gpio.mode(3, gpio.OUTPUT)
gpio.write(3, gpio.LOW)
gpio.write(3, gpio.HIGH)
while 1 do
gpio.write(3, gpio.HIGH)
tmr.delay(1000000) -- wait 1,000,000 us = 1 second
gpio.write(3, gpio.LOW)
tmr.delay(1000000) -- wait 1,000,000 us = 1 second
end
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-huzzah-esp8266 Page 28 of 42










