Teensy Libraries - TeensyUser/doc GitHub Wiki
Teensy Libraries
Here are some libraries written by Teensy users that are not (yet) incorporated in the main Teensydunio releases:
Teensy 4.0/4.1 Power button support
This library provides tools to modify the on/off pin in the Teensy 4.0 and 4.1.
- T4_PowerButton was written by Frank Boesing (FrankB)
- Source: https://github.com/FrankBoesing/T4_PowerButton.git
Arduino Teensy Codec lib
Audiolibrary plugin, plays up to 320 kbps MP3, MP4(AAC), M4A(AAC), AAC-Raw or FLAC in software without external hardware - with only 48MHz.
- Arduino-Teensy-Codec-lib was written by Frank Boesing (FrankB)
- Optimized for ARM Thumb2.
- Play from SD, built-in Flash or optional serial Flash (with audio-shield)
- Flac 4-24 BIT, (Teensy <= 3.2: Blocksize 128-1024 Bytes)
- HINT: -O2 gives much better performance
- Source: https://github.com/FrankBoesing/Arduino-Teensy-Codec-lib.git
SdFat beta
Warning: This is an early beta version of SdFat Version 2.
- SdFat-beta was written by Bill Greiman.
- This library is in early development and features may change. It will clearly have bugs. I am posting this version to get comments and help finding bugs/compatibility problems.
- You can help by posting issues for problems you find. I am doing a great deal of testing but actual applications make the best test cases.
- SdFat Version 2 supports FAT16/FAT32 and exFAT SD cards. It is mostly backward compatible with SdFat Version 1 for FAT16/FAT32 cards.
- exFAT supports files larger than 4GB so files sizes and positions are type uint64_t for classes that support exFAT.
- exFAT has many features not available in FAT16/FAT32. exFAT has excellent support for contiguous files on flash devices and supports preallocation.
- If the SD card is the only SPI device, use dedicated SPI mode. This can greatly improve performance. See the bench example.
- Source: https://github.com/greiman/SdFat-beta.git
Teensy Timer Tool
The TeensyTimerTool is a library that provides a generic, easy to use interface to the hardware timers of the PJRC Teensy boards. In addition, it provides up to 20 highly efficient software timers that use the same interface. All timers can be used in periodic and one-shot mode. Currently the library supports the ARM T3.X and T4.0 boards.
- PJRC forum post about Teensy Timer Tool: https://forum.pjrc.com/threads/59112-TeensyTimerTool
- Wiki: https://github.com/luni64/TeensyTimerTool/wiki
- Source: https://github.com/luni64/TeensyTimerTool.git