玩转 Arduino合集
玩转Arduino合集
Arduino是什么 Arduino硬件介绍 ⊙回四回巴 Arduino编程环境介绍 a o:r a Licht eacth ancel io cambered to a digLtal or attard te tt s CReated I pe :00s based a aee且. EazLagsn Lu: the vilne1/be△td tanlodedledPin, omT eta the antal pin ag ouput asntvnieededhan, HIGH) the ta on 上as eaeitalkrce(ledFln, L00)t
Arduino是什么? • Arduino硬件介绍 • Arduino编程环境介绍
Arduino的安装 Arduino IDE的安装 USB驱动的安装
Arduino的安装 • Arduino IDE的安装 • USB驱动的安装
Arduino程序结构: setup o Blink I Arduino 0021 ⊙回回四國圖 Bnk§ Blink Turns on an LED on for one second, then off for one second, repeatedly This example code is in the public domain 上电后seup函数执行一次 void setupof // initialize the digital pin as an output // Pin 13 has an LED connected on most Arduino boards: pinMode (13, OUTPUT); void loops digitalWrite(13, HIGH); / set the LED on deay(1880; 1/ wait for a second digitalWrite(13, LOW ): / set the LED off de lay (1000); // wait for a second
4 Arduino程序结构:setup() 上电后setup()函数执行一次
Arduino程序结构:lopQ Blink I Arduino 0021 ⊙@回图四 Blnk§ Blink Turns on an LED on for one second, then off for one second, repeatedly This example code is in the public domain void setup[ // initialize the digital pin as an output // Pin 13 has an LED connected on most Arduino boards: pinMode (13, OUTPUT); loop函数一直循环运行 void loops digitalWrite(13, HIGH); / set the LED on delay(1000) // wait for a second digitalWrite(13, LOW); / set the LED off delay(1000); // wait for a second
5 Arduino程序结构:loop() loop()函数一直循环运行
Arduino数字输入输出 Blink I Arduino 0021 ⊙回囵四圖 Blnk§ Blink Turns on an LED on for one second, then off for one second, repeatedly This example code is in the public domain void setup // initialize the digital pin as an output l Pin 13 has an LEd connected on most arduino boards: pinMode(13, OUTPUT) void loop i digitalWrite (13, HIGH); / set the LED on delay(1000) 1, wait for a second digitalWrite(13, LOW); // set the LED off delay(1000); // wait for a second
6 Arduino数字输入输出
Arduino程序下载 Helloworld程序
Arduino程序下载 • HelloWorld程序
动手 Hel| loWorld:点亮一个LED灯
动手 • HelloWorld:点亮一个LED灯
A aquino 与电子积木 什么是电子积木 电子积木如何与 Arduino连接 传感器扩展板 连接线
Arduino与电子积木 • 什么是电子积木 • 电子积木如何与Arduino连接 – 传感器扩展板 – 连接线
数字型电子积木
数字型电子积木