Arduino内置教程-基本原理

基本原理

  • 模拟读取串口:读取一个电位计,打印它的状态到Arduino串口监视器。
  • 最简框架:开始一段新程序的最简框架
  • 闪烁:不停打开关闭一个LED灯。
  • 数字读取串口:读取一个开关,打印它的状态到Arduino串口监视器。
  • 渐变:使用模拟输出口来使一个LED灯的亮度变淡。
  • 读取模拟电压:读取一个模拟输入,然后打印其电压值到串口监视器。

Analog Read Serial: Read a potentiometer, print its state out to the Arduino Serial Monitor.
Bare Minimum: The bare minimum of code needed to start an Arduino sketch.
Blink: Turn an LED on and off.
Digital Read Serial: Read a switch, print the state out to the Arduino Serial Monitor.
Fade: Demonstrates the use of analog output to fade an LED.
Read Analog Voltage: Reads an analog input and prints the voltage to the Serial Monitor.

标签: arduino内置教程, arduino基本原理, arduino串口, arduino数字串口, arduino模拟串口