惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
J
Java Code Geeks
雷峰网
雷峰网
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
云风的 BLOG
云风的 BLOG
V
Visual Studio Blog
V
Vulnerabilities – Threatpost
S
Securelist
The Hacker News
The Hacker News
The Register - Security
The Register - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
G
Google Developers Blog
Hugging Face - Blog
Hugging Face - Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
M
MIT News - Artificial intelligence
AI
AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Schneier on Security
Schneier on Security
N
Netflix TechBlog - Medium
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Hacker News - Newest:
Hacker News - Newest: "LLM"
H
Hacker News: Front Page
博客园 - 司徒正美
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
大猫的无限游戏
大猫的无限游戏
Security Latest
Security Latest
Engineering at Meta
Engineering at Meta
N
News and Events Feed by Topic
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threat Research - Cisco Blogs
U
Unit 42
V
V2EX
V2EX - 技术
V2EX - 技术
L
LINUX DO - 最新话题
aimingoo的专栏
aimingoo的专栏
Microsoft Security Blog
Microsoft Security Blog
Recorded Future
Recorded Future
P
Privacy & Cybersecurity Law Blog
美团技术团队
小众软件
小众软件
F
Fortinet All Blogs

Lan小站-嗯,不错! - 物联网

ESP8266开发板无线终端模式 - Lan小站-嗯,不错! ESP8266开发板接入点模式 - Lan小站-嗯,不错!
MicroPython控制ESP8266灯光开关 - Lan小站-嗯,不错!
Lan · 2021-02-25 · via Lan小站-嗯,不错! - 物联网

Lan

Lan

2021-02-25 / 0 评论 / 1,152 阅读 / 正在检测是否收录...

温馨提示:

本文最后更新于2021年02月25日,已超过1934天没有更新,若内容或图片失效,请留言反馈。

今天下午,我的第二块ESP8266开发板到手了,第一块是大一的时候,还不会编程,照着别人的教程做了一个WIFI杀手,然后在学校吃灰了,这次也没带回来,于是前两天就又买了一块。

然后跟着网上教程敲了一下

实现了开发板上灯的控制,相当于Hello World吧。

from machine import Pin
import time
led = Pin(2,Pin.OUT)
while True:
  led.off()
  print('开灯')
  time.sleep(0.2)
  led.on()
  time.sleep(0.2)
  print('关灯')

0

暂无标签

版权属于: Lan

评论

博主关闭了所有页面的评论