Animate

Introduction

An animate is a small, single LED that can be wired to a microcontroller to display a wide range of colors. With code, an animate can blink, fade, or react to inputs like buttons or sensors. Because of their compact size and focused function, animates are good for prototyping in wearables, props, or interactive installations.

Circuit Assembly

Connect the animate to any digital pin with a wire. In our example, we're using D11/D10.

The pin that you connect your animate to corresponds to a pin value on your code. We're using D11/D10, which corresponds to 11. You can remix yours to look like this:
• D11/D10 → LED_pin = 11;
• D9/D8 → LED_pin = 9;
• D7/D6 → LED_pin = 7;
• D5/D4 → LED_pin = 5;
• D3/D2 → LED_pin = 3;
• D1/D0 → LED_pin = 1;

Code

Related