Arduino学习
文章平均质量分 79
Geng L.X
这个作者很懒,什么都没留下…
展开
-
Arduino例程解读与实验1.AnalogReadSerial(用串口读取模拟口数据)
Arduino例程解读与实验(1.用串口读取模拟口数据)一、例程解读:/*AnalogReadSerial//用串口通讯读取模拟口数据Reads an analog input on pin 0, prints the result to the Serial Monitor.//读取A0脚的模拟输入,结果显示在串口监视窗口中Graphical representation is a...原创 2018-11-07 09:47:33 · 9323 阅读 · 0 评论 -
Arduino例程解读与实验2. Blink(灯光闪烁)
Arduino例程解读与实验(2.灯光闪烁)一、例程解读/*Blink//灯光闪烁Turns an LED on for one second, then off for one second, repeatedly.//发光二极管间隔1秒亮灭一次Most Arduinos have an on-board LED you can control. //大多数Arduino开发板上都有...原创 2018-11-07 10:31:08 · 3093 阅读 · 0 评论 -
Arduino例程解读与实验(3.DigitalReadSerial 串口显示数字管脚电平)
/*DigitalReadSerial//串口显示数字管脚电平Reads a digital input on pin 2, prints the result to the Serial Monitor//读取数字管脚2上的输入电平,结果显示在串口监视器上This example code is in the public domain.//例程代码见以下网址http://www....原创 2018-11-10 10:41:32 · 2632 阅读 · 0 评论 -
Arduino例程解读与实验(4.Fade 渐明渐暗)
Arduino例程解读与实验(4.Fade 渐明渐暗)/* Fade//渐明渐暗 This example shows how to fade an LED on pin 9 using the analogWrite() function. //该例程展示如何使用analogWrite()函数实现与9脚连接的LED灯渐明渐暗变化。 The analogWrite() f...原创 2018-11-10 14:18:25 · 957 阅读 · 0 评论 -
Arduino函数详解
Arduino函数详解原创 2018-11-12 21:01:24 · 4063 阅读 · 0 评论 -
Arduino例程解读与实验(01-06.读取模拟电压)
Arduino例程解读与实验(01-06.读取模拟电压)/*ReadAnalogVoltage//读取模拟电压Reads an analog input on pin 0, converts it to voltage, and prints the result to the Serial Monitor.//读取A0脚上的模拟电压并在串口监视器上显示Graphical represen...原创 2018-11-20 16:42:42 · 1964 阅读 · 0 评论