Level Up Your Arduino Code: Registers – YouTube

Spread the love

Level Up Your Arduino Code: Registers

Before watching this episode, you’ll want to be familiar with digital logic, which you can read about here: https://learn.sparkfun.com/tutorials/digital-logic

In this slightly-more-advanced edition of Adventures in Science, we dive into the inner workings of Arduino and microcontrollers. In order to understand how to set up interrupts on microcontrollers, we first need to cover the basics of interacting with registers. We take a simple example–turn an LED on whenever a button is pressed–and rewrite the program to manually read and write to registers on the ATmega328p.