“Arduino库”的版本间的差异
来自YFRobotwiki
(未显示2个用户的21个中间版本) | |||
第1行: | 第1行: | ||
− | === [https://www.arduino.cc/en/Reference/Libraries Arduino | + | === [https://www.arduino.cc/en/Reference/Libraries Arduino官方 库] === |
+ | |||
+ | |||
+ | <font color="olivedrab" size="+2">'''库'''</font><br> | ||
+ | |||
+ | |||
+ | '''Arduino 环境就像大多数编程平台一样可以使用类库。库可以为程序提供额外的功能,例如:使用硬件或操作数据。IDE可以安装很多库,当然你也可以下载或者创建你自己的库。'''<br> | ||
+ | |||
+ | 程序中使用库,从'''Sketch > Import Library'''中添加库。 | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
{| border="0" cellpadding="10" width="100%" | {| border="0" cellpadding="10" width="100%" | ||
|- | |- | ||
− | |width=" | + | |width="50%" valign="top" align="left"| |
− | + | ||
− | ''' | + | <font color="darkcyan" size="+1" >''' 标准库'''</font> |
− | -- | + | :-[[EEPROM库| EEPROM]] - 读写“永久”储存 |
− | + | :-[[Ethernet库| Ethernet]] - 用于使用Arduino以太网扩展板连接到互联网 | |
− | -[[ | + | :-[[Firmata库| Firmata]] - 根据标准串行协议与电脑上的应用程序进行通信 |
− | -[[ | + | :-[[GSM库| GSM]] - 用于使用GSM扩展板连接到 GSM/GRPS 网络 |
− | -[[ | + | :-[[LiguidCrystal库| LiguidCrystal]] - 控制液晶显示屏(LCD) |
− | -[[ | + | :-[[SD库| SD]] - 用于读写SD卡 |
− | -[[ | + | :-[[Servo库| Servo]] - 用于控制伺服电机(舵机) |
− | -[[ | + | :-[[SPI库| SPI]] - 用于与使用串行外围接口(SPI)总线的设备进行通信 |
− | + | :-[[SoftwareSerial库| SoftwareSerial]] - 使用任何数字引脚进行串行通信( 1.0版本以后,整合了Mikal Hart的NewSoftSerial 库作为 SoftwareSerial库) | |
− | + | ||
− | + | :-[[Stepper库| Stepper]] - 用户控制步进电机 | |
− | + | ||
− | <font color=" | + | :-[[TFT库| TFT]] - 用于在TFT屏幕上绘制文本、图像及形状 |
− | + | ||
− | + | :-[[WiFi库| WiFi]] - 用于使用WiFi扩展板连接到网络 | |
− | + | ||
− | + | :-[[Wire库| Wire]] - 双总线接口 (TWI/I2C) 用于设备或传感器通过网络发送、接收数据 | |
− | + | ||
− | + | ||
+ | <font color="darkcyan" size="+1" >'''Due Only Libraries'''</font> | ||
+ | |||
+ | :-[[Audio库| Audio]] - Play audio files from a SD card. | ||
+ | |||
+ | :-[[Scheduler库| Scheduler]] - Manage multiple non-blocking tasks. | ||
+ | |||
+ | |||
+ | <font color="darkcyan" size="+1" >'''Due and Zero Libraries'''</font> | ||
+ | |||
+ | :-[[USBHost库| USBHost]] - Communicate with USB peripherals like mice and keyboards. | ||
+ | |||
+ | |||
+ | <font color="darkcyan" size="+1" >'''Esplora Only Library'''</font> | ||
+ | |||
+ | :-[[Esplora库| Esplora]] - this library enable you to easily access to various sensors and actuators mounted on the Esplora board. | ||
+ | |||
+ | |||
+ | <font color="darkcyan" size="+1" >'''Arduino Robot Library'''</font> | ||
+ | |||
+ | :-[[Robot库| Robot]] - this library enables easy access to the functions of the Arduino Robot | ||
+ | |||
+ | |||
+ | <font color="darkcyan" size="+1" >'''Arduino Yún Bridge Library'''</font> | ||
+ | |||
+ | :-[[Bridge库| Bridge Library]] - Enables communication between the Linux processor and the Arduino on the Yún. | ||
+ | |||
+ | |||
+ | <font color="darkcyan" size="+1" >'''USB Libraries (Leonardo, Micro, Due, Zero and Esplora)'''</font> | ||
+ | |||
+ | :-[[Keyboard库| Keyboard ]] - Send keystrokes to an attached computer. | ||
+ | |||
+ | :-[[Mouse库| Mouse ]] - Control cursor movement on a connected computer. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |width="50%" valign="top" align="left"| | ||
+ | |||
+ | <font color="darkcyan" size="+1" >'''其他库(第三方库)'''</font> | ||
+ | |||
+ | 如果你使用下面的库,你需要先安装它。当然你还可以[http://www.yfrobot.com/thread-2260-1-1.html 编写自己的库文件] 。 | ||
+ | |||
+ | <font color="lightseagreen" >'''通信(网络和协议):'''</font> | ||
+ | |||
+ | :- [http://www.yfrobot.com/thread-2377-1-1.html RFID库] - RFID 射频模块库 | ||
+ | |||
+ | :-[[PS2库 | PS2]] - PS2 Joystick library | ||
+ | |||
+ | :-[[Json库 | Json]] - JSON library | ||
+ | |||
+ | :-[[Messenger库| Messenger]] - for processing text-based messages from the computer | ||
+ | |||
+ | :-[[NewSoftSerial库| NewSoftSerial]] - an improved version of the SoftwareSerial library | ||
+ | |||
+ | :-[[OneWire库| OneWire]] - control devices (from Dallas Semiconductor) that use the One Wire protocol. | ||
+ | |||
+ | :-[[PS2Keyboard库| PS2Keyboard ]] - read characters from a PS2 keyboard. | ||
+ | |||
+ | :-[[Simple Message System库| Simple Message System]] - send messages between Arduino and the computer | ||
+ | |||
+ | :-[[SSerial2Mobile库| SSerial2Mobile ]] - send text messages or emails using a cell phone (via AT commands over software serial) | ||
+ | |||
+ | :-[[Webduino库| Webduino ]] - extensible web server library (for use with the Arduino Ethernet Shield) | ||
+ | |||
+ | :-[[X10库| X10 ]] - Sending X10 signals over AC power lines | ||
+ | |||
+ | :-[[XBee库| XBee ]] - for communicating with XBees in API mode | ||
+ | |||
+ | :-[[SerialControl库| SerialControl ]] - Control cursor movement on a connected computer. | ||
+ | |||
+ | |||
+ | <font color="lightseagreen" >'''传感器:'''</font> | ||
+ | |||
+ | :-[[Capacitive Sensing库| Capacitive Sensing]] - turn two or more pins into capacitive sensors | ||
+ | |||
+ | :-[[Debounce库| Debounce ]] - for reading noisy digital inputs (e.g. from buttons) | ||
+ | |||
+ | |||
+ | <font color="lightseagreen" >'''显示器和LED:'''</font> | ||
+ | |||
+ | :- [http://www.yfrobot.com/thread-2414-1-1.html Nokia 5110库] - drive 5110 liquid crystal display | ||
+ | |||
+ | :-[[u8glib库 | u8glib ]] | ||
+ | |||
+ | :-[[u8g2库 | u8g2 ]] | ||
+ | |||
+ | :-[[Adafruit_SSD1306库 | Adafruit_SSD1306 ]] | ||
+ | |||
+ | :-[[Adafruit_GFX库 | Adafruit_GFX ]] | ||
+ | |||
+ | :-[[Lixie库 | Lixie ]] | ||
+ | |||
+ | |||
+ | <font color="lightseagreen" >'''音频和波形:'''</font> | ||
+ | |||
+ | :-[[Arduino_FFT库 | FFT ]] | ||
+ | |||
+ | |||
+ | <font color="lightseagreen" >'''电机和PWM:'''</font> | ||
+ | |||
+ | |||
+ | <font color="lightseagreen" >'''存储Flash:'''</font> | ||
+ | |||
+ | :-[[SPIFlash库 | SPIFlash]] | ||
+ | |||
+ | |||
+ | <font color="lightseagreen" >'''时间:'''</font> | ||
+ | |||
+ | :-[[RTC_DS1307_DS3231库 | RTC_DS1307_DS3231 ]] | ||
+ | |||
+ | |||
+ | <font color="lightseagreen" >'''实用工具库:'''</font> | ||
|} | |} | ||
+ | |||
+ | |||
---- | ---- | ||
[[首页|返回首页]] | [[首页|返回首页]] | ||
+ | |||
+ | 欢迎加入群聊:[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中添加库。
标准库
|
其他库(第三方库) 如果你使用下面的库,你需要先安装它。当然你还可以编写自己的库文件。 通信(网络和协议):
|
欢迎加入群聊:技术交流群
原文出处:Arduino官网
更多建议和问题欢迎反馈至 YFRobot论坛