Chapter 4. Libraries and Optimization

Libraries are code written by others to provide specific software functionality that you can use in your own sketches. The Arduino community has hundreds of prewritten libraries, most of which are free. This wealth of code allows hobbyists and professionals alike more time to focus on their intended projects, and not the specifics of a specialized chip or algorithm.

Many of the libraries currently available are written for specific Atmel or other companies’ processors and may not work with other microcontrollers. Because it uses the ATtiny85 chip, with its different memory and architecture, the Trinket has some differences from the Arduino Uno and other popular boards.

This chapter introduces you to many ...

Get Getting Started with Adafruit Trinket now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.