File:Arduino IDE - Blink.png
维基共享资源,媒体文件资料库
跳转到导航
跳转到搜索
![File:Arduino IDE - Blink.png](https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Arduino_IDE_-_Blink.png/720px-Arduino_IDE_-_Blink.png?20180116012825)
本预览的尺寸:720 × 600像素。 其他分辨率:288 × 240像素 | 577 × 480像素 | 922 × 768像素 | 1,230 × 1,024像素 | 1,482 × 1,234像素。
原始文件 (1,482 × 1,234像素,文件大小:267 KB,MIME类型:image/png)
文件信息
结构化数据
说明
说明
添加一行文字以描述该文件所表现的内容
摘要
[编辑]描述Arduino IDE - Blink.png |
English: Arduino IDE 1.8.5 on macOS 10.13 |
日期 | |
来源 | Below code |
作者 | Cedar101 |
Source code
[编辑]/*
Blink
Turns an LED on for one second, then off for one second, repeatedly.
Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
the correct LED pin independent of which board is used.
If you want to know what pin the on-board LED is connected to on your Arduino
model, check the Technical Specs of your board at:
https://www.arduino.cc/en/Main/Products
modified 8 May 2014
by Scott Fitzgerald
modified 2 Sep 2016
by Arturo Guadalupi
modified 8 Sep 2016
by Colby Newman
This example code is in the public domain.
http://www.arduino.cc/en/Tutorial/Blink
*/
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
许可协议
[编辑]我,本作品著作权人,特此采用以下许可协议发表本作品:
![]() ![]() |
本作品采用知识共享CC0 1.0 通用公有领域贡献许可协议授权。 |
采用本宣告发表本作品的人,已在法律允许的范围内,通过在全世界放弃其对本作品拥有的著作权法规定的所有权利(包括所有相关权利),将本作品贡献至公有领域。您可以复制、修改、传播和表演本作品,将其用于商业目的,无需要求授权。
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
文件历史
点击某个日期/时间查看对应时刻的文件。
日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
---|---|---|---|---|---|
当前 | 2018年1月16日 (二) 01:28 | ![]() | 1,482 × 1,234(267 KB) | Cedar101(留言 | 贡献) | User created page with UploadWizard |
您不可以覆盖此文件。
文件用途
没有页面使用本文件。
全域文件用途
以下其他wiki使用此文件:
- ar.wikipedia.org上的用途
- en.wikipedia.org上的用途
- en.wikibooks.org上的用途
- fa.wikipedia.org上的用途
- it.wikipedia.org上的用途
- mk.wikipedia.org上的用途
- ru.wikipedia.org上的用途
- si.wikipedia.org上的用途
- tr.wikipedia.org上的用途
- www.wikidata.org上的用途
- zh.wikipedia.org上的用途
元数据
此文件含有额外信息,这些信息可能是创建或数字化该文件时使用的数码相机或扫描仪所添加的。如果文件已从其原始状态修改,某些详细信息可能无法完全反映修改后的文件。
图像宽度 | 1,482 px |
---|---|
图像高度 | 1,234 px |
水平分辨率 | 56.69 dpc |
垂直分辨率 | 56.69 dpc |