Загрузка страницы

Don't Use DigitalRead | Arduino Interrupt Programming Guide

Get Altium (One Month Free) - https://www.altium.com/yt/RoboCircuits | Octopart - https://octopart.com

Previous Video - https://youtu.be/HWkVr4Il6Fs

Code and Schematics -

In this video we are going to learn how to use interrupts with Arduino, an advanced but extremely useful feature of the Arduino. There is a lot to cover, so without any further delay let's get started!

But what is an interrupt? Most microprocessors have interrupts. Interrupts let you respond to external events while doing something else. Suppose you are sitting at home waiting for the new ESP32 board, you have ordered a few days ago, to arrive at your mailbox. You are very excited so you check your mailbox every ten minutes to see if the board has arrived. This procedure is called polling, and we were using this technique a lot in our projects. But what if we had told the mailman to ring the doorbell at his arrival? This way, we are free to do anything we want and at the time the board arrives at the mailbox we get notified and we can use it at once. This example explains exactly how an interrupt causes a processor to act.

Social Links
Facebook - https://fb.com/robocircuits
Instagram - https://instagram.com/robocircuits
Twitter - https://twitter.com/robocircuits
Instructables - https://www.instructables.com/member/PrashantS161/
Arduino CC - https://create.arduino.cc/projecthub/robocircuits

Видео Don't Use DigitalRead | Arduino Interrupt Programming Guide канала RoboCircuits
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
21 июня 2022 г. 21:09:30
00:11:04
Яндекс.Метрика