Chapter 3. Connection and Programming

This chapter demonstrates connecting a Trinket to electronic components and introduces programming techniques. You’ll build circuits and bring them to life with the code you write.

Preparing the Trinket

At this point, you’ll need to gather the materials discussed in “What You Will Want to Have on Hand”.

Most experimenters use an electronics breadboard to mount their projects. These solderless boards (Figure 3-1) come in many sizes. The half size or even the mini size works well for Trinket projects. A breadboard allows the experimenter to mount a Trinket and have easy access to make connections to other components.

Figure 3-1. Trinket with soldered headers on a breadboard

You’ll need a soldering iron ...

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.