|
出处:http://wiki.geek-workshop.com/doku.php?id=arduino:libraries类库 程序使用类库提供额外的功能,如与硬件协同工作或操控数据等。在程序中使用类库,可以点击菜单中的“程序 > 导入库”进行操作。
标准类库Matrix 和 Sprite 类库已不包含与标准类库中。
USB 类库(适用于 Leonardo、Micro、Due、Esplora)- 键盘 - 向已连接的电脑发送按键指令。
- 鼠标 - 控制已连接的电脑中的鼠标光标。
仅适用于 Due 的类库- 音频 - 播放 SD 卡中的音频文件。
- Scheduler - Manage multiple non-blocking tasks.
- USB 主控 - 通过 USB 与鼠标和键盘等外设进行通讯。
仅适用于 Esplora 的类库- Esplora - 该类库允许您方便的访问安装在 Esplora 上面的传感器和扩展板。
第三方类库通讯(网络和协议): - 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 - Remote control other Arduinos over a serial connection
- IRremote - A Multi-Protocol Infrared Remote Library for the Arduino
传感器: - Capacitive Sensing - turn two or more pins into capacitive sensors
- Debounce - for reading noisy digital inputs (e.g. from buttons)
- DS3231 - 一个时钟芯片
- AT24C32 - IIC接口的EEPROM
液晶显示器和显示设备: - GFX - base class with standard graphics routines (by Adafruit Industries)
- GLCD - graphics routines for LCD based on the KS0108 or equivalent chipset.
- Improved LCD library fixes LCD initialization bugs in official Arduino LCD library
- LedControl - for controlling LED matrices or seven-segment displays with a MAX7221 or MAX7219.
- LedControl - an alternative to the Matrix library for driving multiple LEDs with Maxim chips.
- LedDisplay - control of a HCMS-29xx scrolling LED display.
- Matrix - Basic LED Matrix display manipulation library
- PCD8544 - for the LCD controller on Nokia 55100-like displays (by Adafruit Industries)
- Sprite - Basic image sprite manipulation library for use in animations with an LED matrix
- ST7735 - for the LCD controller on a 1.8“, 128×160 TFT screen (by Adafruit Industries)
音频和声波: - FFT - frequency analysis of audio or other analog signals
- Tone - generate audio frequency square waves in the background on any microcontroller pin
电机和脉宽调制: - TLC5940 - 16 channel 12 bit PWM controller.
- BOXZ - 互动机器人控制通用库。
计时器: - DateTime - 用于追踪当前日期和时间的库,无需外部硬件
- Metro - 帮助你以规定的时间间隔执行动作
- MsTimer2 - 使用timer 2中断来每N毫秒触发一个动作
- Timer - 利用millis()函数来模拟多线程
实用工具: - PString - a lightweight class for printing to buffers
- Streaming - a method to simplify print statements
|
|