Arduino库

来自YFRobotwiki
2015年7月3日 (五) 17:33Admin讨论 | 贡献的版本

跳转至: 导航搜索

Arduino库官方页面

The Arduino environment can be extended through the use of libraries, just like most programming platforms. Libraries provide extra functionality for use in sketches, e.g. working with hardware or manipulating data. A number of libraries come installed with the IDE, but you can also download or create your own. See these instructions for details on installing libraries. There's also a tutorial on writing your own libraries.




Standard Libraries

- EEPROM - reading and writing to "permanent" storage

- Ethernet - for connecting to the internet using the Arduino Ethernet Shield

- Firmata - for communicating with applications on the computer using a standard serial protocol.

- GSM - for connecting to a GSM/GRPS network with the GSM shield.

- LiguidCrystal - for controlling liquid crystal displays (LCDs)

- SD - for reading and writing SD cards

- Servo - for controlling servo motors

- SPI - for communicating with devices using the Serial Peripheral Interface (SPI) Bus

- SoftwareSerial - for serial communication on any digital pins. Version 1.0 and later of Arduino incorporate Mikal Hart's NewSoftSerial library as SoftwareSerial.

- Stepper - for controlling stepper motors

- TFT - for drawing text , images, and shapes on the Arduino TFT screen

- WiFi - for connecting to the internet using the Arduino WiFi shield

- Wire - Two Wire Interface (TWI/I2C) for sending and receiving data over a net of devices or sensors.

The Matrix and Sprite libraries are no longer part of the core distribution.

Due Only Libraries

- Audio - Play audio files from a SD card.

- Scheduler - Manage multiple non-blocking tasks.

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

|}



返回首页

原文出处:Arduino官网

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