Adafruit Feather HUZZAH ESP8266 Manual page 29

Table of Contents

Advertisement

CHPD (Note, don't use this pin or set it
to be an output!)
So to set the pin #0 LED on and off (which would be pin #3 in Lua) first make it an
output:
gpio.mode(3, gpio.OUTPUT)
Turn the LED on with:
gpio.write(3, gpio.LOW)
And off with:
©Adafruit Industries
3
4
5
9
10
12
13
14
15
16
9
1
2
11
12
6
7
5
8
0
Page 29 of 53

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Feather HUZZAH ESP8266 and is the answer not in the manual?

Table of Contents