Before watching this episode, you’ll want to be familiar with digital logic, which you can read about here: [ Ссылка ]
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.
![](https://s2.save4k.ru/pic/6q1yEb_ukw8/maxresdefault.jpg)