資源簡介
針對初學者的25個由簡到難的教學案例,包含代碼和注釋
代碼片段和文件信息
/*
Copyright?(c)?2007?Jim?Studt
Updated?to?work?with?arduino-0008?and?to?include?skip()?as?of
2007/07/06.?--RJL20
Permission?is?hereby?granted?free?of?charge?to?any?person?obtaining
a?copy?of?this?software?and?associated?documentation?files?(the
“Software“)?to?deal?in?the?Software?without?restriction?including
without?limitation?the?rights?to?use?copy?modify?merge?publish
distribute?sublicense?and/or?sell?copies?of?the?Software?and?to
permit?persons?to?whom?the?Software?is?furnished?to?do?so?subject?to
the?following?conditions:
The?above?copyright?notice?and?this?permission?notice?shall?be
included?in?all?copies?or?substantial?portions?of?the?Software.
THE?SOFTWARE?IS?PROVIDED?“AS?IS“?WITHOUT?WARRANTY?OF?ANY?KIND
EXPRESS?OR?IMPLIED?INCLUDING?BUT?NOT?LIMITED?TO?THE?WARRANTIES?OF
MERCHANTABILITY?FITNESS?FOR?A?PARTICULAR?PURPOSE?AND
NONINFRINGEMENT.?IN?NO?EVENT?SHALL?THE?AUTHORS?OR?COPYRIGHT?HOLDERS?BE
LIABLE?FOR?ANY?CLAIM?DAMAGES?OR?OTHER?LIABILITY?WHETHER?IN?AN?ACTION
OF?CONTRACT?TORT?OR?OTHERWISE?ARISING?FROM?OUT?OF?OR?IN?CONNECTION
WITH?THE?SOFTWARE?OR?THE?USE?OR?OTHER?DEALINGS?IN?THE?SOFTWARE.
Much?of?the?code?was?inspired?by?Derek?Yerger‘s?code?though?I?don‘t
think?much?of?that?remains.??In?any?event?that?was..
????(copyleft)?2006?by?Derek?Yerger?-?Free?to?distribute?freely.
The?CRC?code?was?excerpted?and?inspired?by?the?Dallas?Semiconductor?
sample?code?bearing?this?copyright.
//---------------------------------------------------------------------------
//?Copyright?(C)?2000?Dallas?Semiconductor?Corporation?All?Rights?Reserved.
//
//?Permission?is?hereby?granted?free?of?charge?to?any?person?obtaining?a
//?copy?of?this?software?and?associated?documentation?files?(the?“Software“)
//?to?deal?in?the?Software?without?restriction?including?without?limitation
//?the?rights?to?use?copy?modify?merge?publish?distribute?sublicense
//?and/or?sell?copies?of?the?Software?and?to?permit?persons?to?whom?the
//?Software?is?furnished?to?do?so?subject?to?the?following?conditions:
//
//?The?above?copyright?notice?and?this?permission?notice?shall?be?included
//?in?all?copies?or?substantial?portions?of?the?Software.
//
//?THE?SOFTWARE?IS?PROVIDED?“AS?IS“?WITHOUT?WARRANTY?OF?ANY?KIND?EXPRESS
//?OR?IMPLIED?INCLUDING?BUT?NOT?LIMITED?TO?THE?WARRANTIES?OF
//?MERCHANTABILITY??FITNESS?FOR?A?PARTICULAR?PURPOSE?AND?NONINFRINGEMENT.
//?IN?NO?EVENT?SHALL?DALLAS?SEMICONDUCTOR?BE?LIABLE?FOR?ANY?CLAIM?DAMAGES
//?OR?OTHER?LIABILITY?WHETHER?IN?AN?ACTION?OF?CONTRACT?TORT?OR?OTHERWISE
//?ARISING?FROM?OUT?OF?OR?IN?CONNECTION?WITH?THE?SOFTWARE?OR?THE?USE?OR
//?OTHER?DEALINGS?IN?THE?SOFTWARE.
//
//?Except?as?contained?in?this?notice?the?name?of?Dallas?Semiconductor
//?shall?not?be?used?except?as?stated?in?the?Dallas?Semiconductor
//?Branding?Policy.
//--------------------------------------------------------------------------
*/
#include?“OneWire.h“
extern?“C“?{
#if?(ARDUINO?>=?100)
#include?
#else
#include?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????460800??2017-07-05?12:50??例程系列一\01.Hello?World\Arduino?入門到精通?例程1-Hello?World!.doc
?????文件????????704??2017-07-05?12:50??例程系列一\01.Hello?World\Hello?World.txt
?????文件????????850??2017-07-05?12:54??例程系列一\01.Hello?World\Hello_World\Hello_World.ino
?????文件????2080256??2017-07-05?12:50??例程系列一\02.LED閃爍\Arduino?入門到精通?例程2-LED閃爍.doc
?????文件????????439??2017-07-05?12:54??例程系列一\02.LED閃爍\LED\LED.ino
?????文件????????255??2017-07-05?12:50??例程系列一\02.LED閃爍\LED.txt
?????文件????5729280??2017-07-05?12:50??例程系列一\03.流水燈\Arduino入門到精通?例程3-流水燈.doc
?????文件????????571??2017-07-05?13:34??例程系列一\03.流水燈\流水燈\liushuideng\liushuideng.ino
?????文件????????543??2017-07-05?12:50??例程系列一\03.流水燈\流水燈.txt
?????文件?????357888??2017-07-05?12:50??例程系列一\04.交通燈\Arduino?入門到精通?例程4-交通燈.doc
?????文件????????829??2017-07-05?13:34??例程系列一\04.交通燈\交通燈\jiaotongdeng\jiaotongdeng.ino
?????文件????????743??2017-07-05?12:50??例程系列一\04.交通燈\交通燈.txt
?????文件?????906240??2017-07-05?12:50??例程系列一\05.按鍵控制\Arduino?入門到精通?例程5-按鍵控制.doc
?????文件????????454??2017-07-05?12:54??例程系列一\05.按鍵控制\key\key.ino
?????文件????????392??2017-07-05?12:50??例程系列一\05.按鍵控制\按鍵控制.txt
?????文件?????607232??2017-07-05?12:50??例程系列一\06.搶答器\Arduino?入門到精通?例程6-搶答器.doc
?????文件???????1104??2017-07-05?12:54??例程系列一\06.搶答器\qiangdaqi\qiangdaqi.ino
?????文件???????1448??2017-07-05?12:50??例程系列一\06.搶答器\搶答器.txt
?????文件?????522752??2017-07-05?12:50??例程系列一\07.蜂鳴器\Arduino?入門到精通?例程7-蜂鳴器.doc
?????文件????????643??2017-07-05?12:54??例程系列一\07.蜂鳴器\buzzer\buzzer.ino
?????文件????????600??2017-07-05?12:50??例程系列一\07.蜂鳴器\蜂鳴器.txt
?????文件????????590??2017-07-05?12:54??例程系列一\08.模擬值\AD\AD.ino
?????文件?????425472??2017-07-05?12:50??例程系列一\08.模擬值\Arduino?入門到精通?例程9-模擬值.doc
?????文件????????527??2017-07-05?12:50??例程系列一\08.模擬值\模擬值AD轉換.txt
?????文件????1090560??2017-07-05?12:50??例程系列一\09.數字電壓表\Arduino?入門到精通?例程9-數字電壓表.doc
?????文件????????654??2017-07-05?12:54??例程系列一\09.數字電壓表\dianyabiao\dianyabiao.ino
?????文件????????599??2017-07-05?12:50??例程系列一\09.數字電壓表\電壓表.txt
?????文件????1072640??2017-07-05?12:50??例程系列一\10.光控聲音\Arduino?入門到精通?例程10-光控聲音.doc
?????文件????????580??2017-07-05?12:54??例程系列一\10.光控聲音\guangkongshengyin\guangkongshengyin.ino
?????文件????????511??2017-07-05?12:50??例程系列一\10.光控聲音\光控聲音.txt
............此處省略245個文件信息
評論
共有 條評論