2013年4月6日 星期六

Arduino Libraries

skip navigational linksPJRC
Shopping Cart  Checkout  Shipping Cost  Download Website
HomeMP3 Player8051 ToolsAll ProjectsPJRC StoreSite Map
You are here: Teensy  Teensyduino  Libraries  Main List

PJRC Store
 Teensy 3.0, $19
 Teensy 2.0, $16
 Teensy++ 2.0, $24
 USB Cable, $4
Teensy
 Main Page
 Getting Started
 How-To Tips
 Code Library
 Projects
 Teensyduino
 Reference

Libraries

Most code libraries designed for Arduino boards work on Teensy and Teensy++ with little or no modification. This page aims to collect all libraries with any modifications and special instructions specific to Teensy. Clearly, many libraries have yet to be tested....

Display Libraries

LibraryVersionDescriptionWebTeensy
2.0
Teensy++
2.0
Teensy
3.0
GLCD (ks0108)2Graphics LCD library - Use a 128x64 graphical LCD. Displays fonts, bitmaps, pixels, lines, circles.YesYes
LiquidCrystal1.0.3Character type LCD library. Displays text and limited custom characters.YesYesYes
OctoWS28111.0Control thousands of WS2811-based LEDs.NoNoYes
FastSPI_LEDEfficiently control various types of LED strips.YesYesPartial
Matrix & Sprite1.0Control many LEDs.YesYesYes
LedDisplay0.4Very bright 4 or 8 character display.YesYesYes
LedControl-Control 7-segment display or LEDs.YesYesYes
DogLcd1.0.0Use DOG-M Displays with only 4 pinsYesYesYes
Dogm1281.1.2Use DogM 128 and similar Graphical Displays
ST7565-Graphical LCD, 128x64YesYesYes

Communication Libraries

LibraryVersionDescriptionWebTeensy
2.0
Teensy++
2.0
Teensy
3.0
Ethernet1.0.4Connect to the Internet or a local Ethernet network. Ethernet allows you to create Internet applications like web servers.YesYesYes
AltSoftSerial1Serial port emulated by softwareYesYesNo
NewSoftSerial10cSerial port emulated by softwareYesYesNo
SoftwareSerial0018Known bugs - use NewSoftSerialYesYesNo
MIDI2.6
3.1.1
Control & Communicate with Musical InstrumentsYesYes
PS2Keyboard2.4PS2 Keyboard for user inputYesYesYes
DmxSimple3DMX lighting control -NoYes
Firmata1.0.3Control hardware from Flash, Max/MSP, Puredata, etcYesYesYes
Wire1.0.3Communicate with I2C (2 wire) devicesYesYesYes
SPI1.0Communicate with SPI devicesYesYesYes
OneWire2.2Communicate with Maxim/Dallas 1-wire devicesYesYesYes
XBee0.2.1Communicate using XBee wireless modulesYesYes
VirtualWire1.5Very Cheap Wireless CommunicationYesYesNo
X100.4Control X10 AC Power DevicesYesYes
IRremote0.11Infrared Remote Control, Send & ReceiveYesYesYes
iPodSerial
TinyGPS12Process GPS data into useful variables, Latitude, Longitude, Time, etcYesYesYes
USBHostShield1.0 & 2.0Connect other USB devices.YesYesNo
CmdMessengerSend messages between boards using serial

Input and Sensor Libraries

LibraryVersionDescriptionWebTeensy
2.0
Teensy++
2.0
Teensy
3.0
Bounce1.5Reliably read pushbuttons or mechanical sensors with contact chatterYesYesYes
Keypad3.1Read Keypads with Row-Column WiringYesYesYes
Encoder1.1Use Quadrature Encoder Position/Rotation SensorsYesYesYes
DallasTemperature3.4.0Yes
MAX66751.1Thermocouples (high temperature measurement)
Ping2.0Ultrasonic Distance MeasurementYesYesYes
CapacitiveSensor04Create Sensors That Can Detect Touch or ProximityYesYes
FreqCount1.0Frequency Measurement, best for 1 kHz to 5 MHz rangeYesYesNo
FreqMeasure1.0Frequency Measurement, best for 0.1 Hz to 1 kHz rangeYesYesNo
SensorLibCdS light, Audio Mic, PIR Motion SensorsYesYes
TouchScreenUse glass touch sensitive screens

Device Control and Signal Output Libraries

LibraryVersionDescriptionWebTeensy
2.0
Teensy++
2.0
Teensy
3.0
Servo1.0.3Control servo motors, commonly used in remote control planesYesYesYes
Stepper1.0.4Control stepper motors, which make slow & precise movement easyYesYesYes
AccelStepper1.30Control stepper motors, with many extra features beyond the Stepper libraryYesYesYes
PID
DDS Sinewave
FrequencyTimer22Create a zero jitter output frequencyNoYesAlt
Tlc5940r01416 or more 12 bit PWM outputsYesYesNo
SoftPWM0003Additional PWM outputs on any pinsYesYes
ShiftPWM1.03Additional PWM outputs with shift registersYesYesNo
RgbLedControl RGB LEDs
TV OutVideo Signal Output
MCP4728Four 12 bit Analog Outputs

Timing and Time Keeping Libraries

LibraryVersionDescriptionWebTeensy
2.0
Teensy++
2.0
Teensy
3.0
TimeTime keeping, Date & Time, and sync to other sources.YesYesYes
TimeAlarmsRun functions at specific times.YesYesYes
DS1307RTCAccess a DS1307 Real Time ClockYesYesYes
Metro2.3.2Schedule events to occur at regular intervals.YesYesYes
TimerOneUse Timer1 to run a function and control PWM signalsYesYes
MsTimer20.6Run a function every millisecond.YesYes
FlexiTimer2Run a function on a configurable interval.YesYes
TimerThreeUse Timer3 to run a function and control PWM signalsYesYes

Data Manipulation Libraries

LibraryVersionDescriptionWebTeensy
2.0
Teensy++
2.0
Teensy
3.0
EEPROM1.0.4Non-volatile (permanent) data storageYesYesYes
SDYesYesYes
SdFat20100611YesYes
Flash
TextString
PString
Streaming
Base64Encode binary into base-64, and vise-versa.
Entropy0.6Generate truly random numbersYesYes
"Alt" indicates the library's functionality is available from other functions. See the library page for details.

沒有留言:

張貼留言

Messaging API作為替代方案

  LINE超好用功能要沒了!LINE Notify明年3月底終止服務,有什麼替代方案? LINE Notify將於2025年3月31日結束服務,官方建議改用Messaging API作為替代方案。 //CHANNEL_ACCESS_TOKEN = 'Messaging ...