The wiring for the example is really simple. In the simplest terms, you will connect two active-low buttons to pin #0 and pin #2 on the Trinket. Active-low means the other end of the button is connected to ground, such that when the button is pressed, the pin value will read low. We will be using the Trinket's internal pull-up resistors so when the button is not pressed, the pin value will read high.

This guide was first published on Sep 27, 2013. It was last updated on Jan 22, 2024.

This page (Wiring) was last updated on Sep 27, 2013.

Text editor powered by tinymce.