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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.