当前位置:网站首页>Adruino basic experimental learning (I)
Adruino basic experimental learning (I)
2022-07-26 02:15:00 【Sweet adhesive】
Wireless sensors ( One )
Led Small lamp experiment
Specific devices :
- Direct insertion LED *1
- 220Ω In line resistor *1
- Breadboard
- DuPont line Two males at two ends
The following figure for arduino Wiring schematic diagram of small lamp experiment 
LED Long feet are positive , The short leg is negative
Resistance is used to limit current

int pin=10;// Define numbers 10 Interface
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(pin, OUTPUT);// Define the small lamp interface as the output interface
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(pin, HIGH); // Light up the small lamp at high level
delay(5000); // Time delay
digitalWrite(pin, LOW); // Low level off small lamp
delay(1000); // Time delay
边栏推荐
- 数仓:银行业数仓的分层架构实践
- 【PyQt5打包为exe】
- Common shell operations in Phoenix
- [C language brush leetcode] 146. LRU cache (m)
- A pluggable am335x industrial control module onboard WiFi module
- [Android development IOS series] Language: swift vs kotlin
- [xxl-job] xxl-job learning
- 1205 Lock wait timeout exceeded; Try restarting transaction processing
- I.MX6UL核心模块使用连载-TF卡读写测试 (五)
- Navica工具把远程MySQL导入到本地MySQL数据库
猜你喜欢

I.MX6UL核心模块使用连载-以太网测试 (七)

What does the Red Cross in the SQL editor mean (toad and waterdrop have been encountered...)

Error reporting caused by local warehouse

由一个数据增量处理问题看到技术人员的意识差距

I.MX6UL核心模块使用连载-USB接口测试 (六)

租户问题。

A pluggable am335x industrial control module onboard WiFi module

还在用==0 null equal 判断空值吗,对isEmpty 和 isBlank有多少了解呢

Characteristics and determination of neuraminidase from Clostridium perfringens in Worthington

Prometheus + redis exporter + grafana monitor redis service
随机推荐
[C]详解语言文件操作
Acwing 379. hide and seek problem solution (minimum path non repeating point coverage)
AttributeError: ‘Document‘ object has no attribute ‘pageCount‘
17.反转链表
一款可插拔的AM335X工控模块板载wifi模块
I.MX6UL核心模块使用连载-TF卡读写测试 (五)
【红队】ATT&CK - 利用BITS服务实现持久化
Design and driver transplantation of matrix keyboard circuit of Ti am335x industrial control module
Prometheus + redis exporter + grafana monitor redis service
[C language brush leetcode] 1604. Warn people who use the same employee card more than or equal to three times within an hour (m)
Relationship between HTC mobile official solution, s-on/s-off and super CID
【2021】【论文笔记】6G技术愿景——OTFS调制技术
1. Mx6ul core module serial Ethernet test (VII)
【2019】【论文笔记】基于超材料可调谐THz宽频吸收——
Web3.0 blog DAPP development practice [2022]
What is JSX?
2022.7.25-----leetcode.919
Turn: do the right thing efficiently
1. Mx6ul core module serial -iot-6ulx core module brief introduction (I)
[C language brush leetcode] 814. Binary tree pruning (m)