“Arduino库”的版本间的差异

来自YFRobotwiki
跳转至: 导航搜索
 
(未显示2个用户的8个中间版本)
第130行: 第130行:
 
:-[[u8glib库 | u8glib ]]
 
:-[[u8glib库 | u8glib ]]
  
 +
:-[[u8g2库 | u8g2 ]]
  
<font color="lightseagreen" >'''音频和波形:'''</font>
+
:-[[Adafruit_SSD1306库 | Adafruit_SSD1306 ]]
  
 +
:-[[Adafruit_GFX库 | Adafruit_GFX ]]
  
 +
:-[[Lixie库 | Lixie ]]
 +
 +
 +
<font color="lightseagreen" >'''音频和波形:'''</font>
 +
 +
:-[[Arduino_FFT库 | FFT ]]
  
  
第139行: 第147行:
  
  
 +
<font color="lightseagreen" >'''存储Flash:'''</font>
  
 +
:-[[SPIFlash库 | SPIFlash]]
  
  
 
<font color="lightseagreen" >'''时间:'''</font>
 
<font color="lightseagreen" >'''时间:'''</font>
  
 
+
:-[[RTC_DS1307_DS3231库 | RTC_DS1307_DS3231 ]]
  
  
第154行: 第164行:
 
----
 
----
 
[[首页|返回首页]]
 
[[首页|返回首页]]
 +
 +
欢迎加入群聊:[https://jq.qq.com/?_wv=1027&k=466mOjv 技术交流群]
  
 
 原文出处:[http://www.arduino.cc/en/Reference Arduino官网]
 
 原文出处:[http://www.arduino.cc/en/Reference Arduino官网]
  
 
 更多建议和问题欢迎反馈至 [http://www.yfrobot.com YFRobot论坛]
 
 更多建议和问题欢迎反馈至 [http://www.yfrobot.com YFRobot论坛]

2017年4月18日 (二) 10:29的最后版本

Arduino官方库



Arduino 环境就像大多数编程平台一样可以使用类库。库可以为程序提供额外的功能,例如:使用硬件或操作数据。IDE可以安装很多库,当然你也可以下载或者创建你自己的库。

程序中使用库,从Sketch > Import Library中添加库。



标准库

- EEPROM - 读写“永久”储存
- Ethernet - 用于使用Arduino以太网扩展板连接到互联网
- Firmata - 根据标准串行协议与电脑上的应用程序进行通信
- GSM - 用于使用GSM扩展板连接到 GSM/GRPS 网络
- LiguidCrystal - 控制液晶显示屏(LCD)
- SD - 用于读写SD卡
- Servo - 用于控制伺服电机(舵机)
- SPI - 用于与使用串行外围接口(SPI)总线的设备进行通信
- SoftwareSerial - 使用任何数字引脚进行串行通信( 1.0版本以后,整合了Mikal Hart的NewSoftSerial 库作为 SoftwareSerial库)
- Stepper - 用户控制步进电机
- TFT - 用于在TFT屏幕上绘制文本、图像及形状
- WiFi - 用于使用WiFi扩展板连接到网络
- Wire - 双总线接口 (TWI/I2C) 用于设备或传感器通过网络发送、接收数据


Due Only Libraries

- Audio - Play audio files from a SD card.
- Scheduler - Manage multiple non-blocking tasks.


Due and Zero Libraries

- USBHost - Communicate with USB peripherals like mice and keyboards.


Esplora Only Library

- Esplora - this library enable you to easily access to various sensors and actuators mounted on the Esplora board.


Arduino Robot Library

- Robot - this library enables easy access to the functions of the Arduino Robot


Arduino Yún Bridge Library

- Bridge Library - Enables communication between the Linux processor and the Arduino on the Yún.


USB Libraries (Leonardo, Micro, Due, Zero and Esplora)

- Keyboard - Send keystrokes to an attached computer.
- Mouse - Control cursor movement on a connected computer.



其他库(第三方库)

如果你使用下面的库,你需要先安装它。当然你还可以编写自己的库文件

通信(网络和协议):

- RFID库 - RFID 射频模块库
- PS2 - PS2 Joystick library
- Json - JSON library
- Messenger - for processing text-based messages from the computer
- NewSoftSerial - an improved version of the SoftwareSerial library
- OneWire - control devices (from Dallas Semiconductor) that use the One Wire protocol.
- PS2Keyboard - read characters from a PS2 keyboard.
- Simple Message System - send messages between Arduino and the computer
- SSerial2Mobile - send text messages or emails using a cell phone (via AT commands over software serial)
- Webduino - extensible web server library (for use with the Arduino Ethernet Shield)
- X10 - Sending X10 signals over AC power lines
- XBee - for communicating with XBees in API mode
- SerialControl - Control cursor movement on a connected computer.


传感器:

- Capacitive Sensing - turn two or more pins into capacitive sensors
- Debounce - for reading noisy digital inputs (e.g. from buttons)


显示器和LED:

- Nokia 5110库 - drive 5110 liquid crystal display
- u8glib
- u8g2
- Adafruit_SSD1306
- Adafruit_GFX
- Lixie


音频和波形:

- FFT


电机和PWM:


存储Flash:

- SPIFlash


时间:

- RTC_DS1307_DS3231


实用工具库:



返回首页

欢迎加入群聊:技术交流群

原文出处:Arduino官网

更多建议和问题欢迎反馈至 YFRobot论坛