admin 管理员组文章数量: 1086019
2024年4月27日发(作者:mavenproperties目录)
核心职能
Simple programs that demonstrate basic
Arduino commands.简单的程序,演示基本
的Arduino命令。 These are included with
the Arduino environment; to open them,
click the Open button on the toolbar and
look in the examples folder.这些都包含在
Libraries 图书馆
Examples from the libraries that are
included in the Arduino software.从库是包
含在Arduino软件的例子。
EEPROM Library EEPROM的图书
馆
Arduino环境,打开它们,单击工具栏上的
打开按钮,并期待在examples文件夹。
BareMinimum : The bare minimum
of code needed to start an Arduino
sketch. BareMinimum :最低限度的代
码需要启动一个Arduino草图。
Blink : Turn an LED on and off. 闪
烁 :开启LED的开启和关闭。
DigitalReadSerial : Read a switch,
print the state out to the Arduino Serial
Monitor. DigitalReadSerial :阅读交换
机,打印到Arduino串行监视器的状态。
AnalogReadSerial : Read a
potentiometer, print it's state out to the
Arduino Serial Monitor.
AnalogReadSerial :阅读电位器,打印
到Arduino串行监视器,它的状态。
Fade : Demonstrates the use of
analog output to fade an LED. 褪色 :
演示使用模拟输出褪色的LED。
l l
Blink Without Delay : blinking an
LED without using the delay() function.
毫不拖延地闪烁 :闪烁的LED不使用延
迟()函数。
Button : use a pushbutton to
control an LED. 按钮 :使用一个按钮来
控制一个LED。
Debounce : read a pushbutton,
filtering noise. 防抖动 :读一个按钮,
过滤噪声。
Button State Change : counting the
number of button pushes. 按钮状态的
EEPROM Clear : clear the bytes in
the EEPROM. EEPROM清除 :清除字
节的EEPROM。
EEPROM Read : read the EEPROM
and send its values to the computer.
EEPROM读 :读EEPROM和计算机发
送其值。
EEPROM Write : stores values
from an analog input to the EEPROM.
EEPROM写 :从存储到EEPROM的模
拟输入值。
以太网图书馆
ChatServer : set up a simple chat
server. ChatServer :建立一个简单的聊
天服务器。
WebClient : make a HTTP request.
WebClient的 :做一个HTTP请求。
WebServer : host a simple HTML
page that displays analog sensor values.
Web服务器 :承载一个简单的HTML
页面,显示模拟传感器的值。
PachubeClient : connect to
, a free datalogging site.
PachubeClient :连接到,
一个免费的数据记录网站。
PachubeClientString : send strings
to .
PachubeClientString :发送字符串到
。
BarometricPressureWebServer :
outputs the values from a barometric
pressure sensor as a web page.
BarometricPressureWebServer :从网
页气压传感器的输出值。
UDPSendReceiveString : Send and
Ethernet Library
变化 :计数按钮推。
Tone : play a melody with a Piezo
speaker. 音 :用压电扬声器播放的旋
律。
Pitch follower : play a pitch on a
piezo speaker depending on an analog
input. 间距追随者 :发挥取决于模拟输
入压电扬声器的音调。
Simple Keyboard : a three-key
musical keyboard using force sensors
and a piezo speaker. 简单的键盘 :三键
的音乐键盘,使用武力传感器和压电扬声
器。
Tone4 : play tones on multiple
speakers sequentially using the tone()
command. tone4 :顺序播放多个扬声器
的音音()命令。
AnalogInOutSerial : read an analog
input pin, map the result, and then use
that data to dim or brighten an LED.
AnalogInOutSerial :读取模拟输入引
脚,图的结果,然后用这些数据来变暗或
变亮的LED。
Analog Input : use a potentiometer
to control the blinking of an LED. 模拟
输入 :使用电位器来控制LED的闪烁。
AnalogWriteMega : fade 12 LEDs
on and off, one by one, using an
Arduino Mega board.
AnalogWriteMega :淡出12个LED开
启和关闭,一个接一个,使用一个
Arduino兆丰板。
Calibration : define a maximum
and minimum for expected analog
sensor values. 校准 :定义一个最高和
最低预期的模拟传感器值。
Fading : use an analog output
(PWM pin) to fade an LED. 褪色 :使
用模拟输出(PWM引脚)褪色的LED。
Smoothing : smooth multiple
readings of an analog input. 平滑 :平
滑的模拟输入多个读数。
receive text strings via UDP.
UDPSendReceiveString :通过UDP发
送和接收文本字符串。
UdpNtpClient : Query a Network
Time Protocol (NTP) server using UDP.
UdpNtpClient :查询网络时间协议
(NTP)服务器使用UDP。
DnsWebClient : DNS and
DHCP-based Web client.
DnsWebClient :DNS和DHCP基于
Web客户端。
DhcpChatServer : A simple DHCP
Chat Server DhcpChatServer :一个简
单的DHCP聊天服务器
DhcpAddressPrinter : Get an IP
address via DHCP and print it out
DhcpAddressPrinter :通过DHCP的
IP地址,并打印出来
TwitterClient : A Twitter client with
Strings TwitterClient :与弦乐的
Twitter客户端
TelnetClient : A simple Telnet
client TelnetClient :一个简单的Telnet
客户端
图书馆
Guide to the Standard Firmata
Library 指南标准Firmata图书馆
Library
图书馆
Hello World : displays "hello
world!" 你好世界 :显示“Hello
World!”and the seconds since reset.和
秒自复位。
Blink : control of the block-style
cursor. 闪烁 :控制块式游标。
Cursor : control of the
underscore-style cursor. 光标 :下划线
式游标控制。
Display : quickly blank the display
without losing what's on it. 显示 :迅速
不失它显示空白。
TextDirection : control which way
Firmata Libraries firmata
LiquidCrystal
LiquidCrystal
版权声明:本文标题:Arduino自带例子 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/p/1714206158a669752.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论