O'Reilly logo

Getting Started with Adafruit Trinket by Mike Barela

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required