Bare Metal Micro

AVR Digital I/O

1. Introduction

The digital I/O pins on AVRs are easy to use and very versatile. They can be used to do many different things such as light LEDs, turn on relays, read push buttons, scan keyboard inputs, and communicate with other chips, just to name a few.

This tutorial will teach you everything you need to know to start using the digital I/O pins on your AVR.