arduino自带程序_Arduino自带例子

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.

这些都包含在

Arduino

环境,打开它们,单击工具栏上的

打开按钮,并期待在

examples

文件夹。

1.Basics 1.Basics

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

2.Digital 2.Digital

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.

按钮状态的

Libraries

Examples

from

the

libraries

that

are

included in the Arduino software.

从库是包

含在

Arduino

软件的例子。

EEPROM

Library

EEPROM

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

的模

拟输入值。

Ethernet Library

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

Pachube.com,

a

free

datalogging

site.

PachubeClient

:连接到

Pachube.com

一个免费的数据记录网站。

PachubeClientString

:

send

strings

to

Pachube.com.

PachubeClientString

:发

Pachube.com

BarometricPressureWebServer

:

outputs

the

values

from

a

barometric

pressure

sensor

as

a

web

page.

BarometricPressureWebServer

:从网

页气压传感器的输出值。

UDPSendReceiveString

:

Send

and

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Arduino程序设计基础实验说明文档Arduino编程学习例程40个合集: 实验一 Hello World.docx 实验七 自动补光实验.docx 实验三 按键控制LED.docx 实验三十 红外接收.docx 实验三十一 遥控家电.docx 实验三十三 电位器控制舵机角度.docx 实验三十二 认识舵机.docx 实验三十五 自动降温.docx 实验三十四 可调速小风扇.docx 实验九 声控灯.docx 实验二 流水灯.docx 实验二十 学会使用MQ2烟雾传感器.docx 实验二十一 烟雾报警.docx 实验二十七 距离检测.docx 实验二十三 温度报警.docx 实验二十九 红外发射.docx 实验二十二 闯入报警.docx 实验二十五 串口控制RGBled调光.docx 实验二十八 74HC595.docx 实验二十六 超声波测距.docx 实验二十四 认识RGBled.docx 实验五 电位器控制呼吸灯频率.docx 实验八 检测声音大小.docx 实验六 光敏电阻检测光亮度.docx 实验十 触摸传感器的使用.docx 实验十七 简易电子琴.docx 实验十三 人体感应灯.docx 实验十九 外部中断触发蜂鸣器报警.docx 实验十二 人体感应模块的应用.docx 实验十五 蜂鸣器的使用.docx 实验十八 红外避障传感器的应用.docx 实验十六 播放音乐.docx 实验十四 电子温度计.docx 实验四 呼吸灯.docx 拓展实验 12864.docx 拓展实验 1602显示串口数据.docx 拓展实验 DHT11温湿度检测模块的使用.docx 拓展实验 使用数字电位器AD5206.docx 拓展实验 制作电子时钟.docx 拓展实验1602 LCD的使用.docx
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值