công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

2821 bảng dữ liệu(PDF) 29 Page - Adafruit Industries

tên linh kiện 2821
Giải thích chi tiết về linh kiện  Adafruit Feather HUZZAH ESP8266
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  ADAFRUIT [Adafruit Industries]
Trang chủ  https://www.adafruit.com/
Logo ADAFRUIT - Adafruit Industries

2821 bảng dữ liệu(HTML) 29 Page - Adafruit Industries

Back Button 2821 Datasheet HTML 25Page - Adafruit Industries 2821 Datasheet HTML 26Page - Adafruit Industries 2821 Datasheet HTML 27Page - Adafruit Industries 2821 Datasheet HTML 28Page - Adafruit Industries 2821 Datasheet HTML 29Page - Adafruit Industries 2821 Datasheet HTML 30Page - Adafruit Industries 2821 Datasheet HTML 31Page - Adafruit Industries 2821 Datasheet HTML 32Page - Adafruit Industries 2821 Datasheet HTML 33Page - Adafruit Industries Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 42 page
background image
The LED will now be blinking on and off.
Note that since its in a loop, its not possible to get it to stop via the interpreter. To stop it, click theReset button again!
This code halts the processor during the tmr.delay, a smarter way to blink an LED is to use the timer capability to set off
the LED control (code from here)
Scanning & Connecting to WiFi
We'll continue with a quick demo of scanning for WiFi and connecting.
Once you're back at the Lua prompt, set the ESP8266 into WiFi Client mode with
Then you can run the scanner and have it print out the available AP's
or for more detail...
-- Pin definition
local pin = 3
local status = gpio.LOW
local duration = 1000
-- 1 second duration for timer
-- Initialising pin
gpio.mode(pin, gpio.OUTPUT)
gpio.write(pin, status)
-- Create an interval
tmr.alarm(0, duration, 1, function ()
if status == gpio.LOW then
status = gpio.HIGH
else
status = gpio.LOW
end
gpio.write(pin, status)
end)
wifi.setmode(wifi.STATION)
-- print ap list
function listap(t)
for k,v in pairs(t) do
print(k.." : "..v)
end
end
wifi.sta.getap(listap)
© Adafruit Industries
https://learn.adafruit.com/adafruit-feather-huzzah-esp8266
Page 29 of 42



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com