Level Up Your Arduino Code: Registers

Опубликовано: 10 Январь 2018
на канале: SparkFun Electronics
185,188
4.6k

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

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.