核心职能 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....