Interrupts 🔴 ATmega328P Programming #6 AVR microcontroller with Atmel Studio

preview_player
Показать описание
In this ATmega328P programming tutorial I will demonstrates how to use the external Interrupts and an overview of Interrupts in general. Using the AVR C Compiler with Atmel Studio 7.

Atmel Studio 7 is now know as Microchip Studio.

Git Repository

➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥

☕Coffee Funds☕
Shekels
Patreon
Bitcoin
19nohZzWXxVuZ9tZvw8Pvhajt5khG5mspW
Ethereum
0x5fe29789CDaE8c73C9791bEe36c7ad5db8511D39

00:00 Intro
00:09 ATmega328P Schematic
00:42 ATmega328P Datasheet Interrupts
06:51 Interrupts Code
13:52 Interrupts Demo
15:02 Outro

#ATmega328P #AVR #AtmelStudio7
Рекомендации по теме
Комментарии
Автор

Hi there, thanks for making this series of videos (very helpful!). I have been confused your configuration of the DDRD (at 8:16 in the video). If the initial value of DDRD is 0x00 (which is specified in the datasheet) and you AND it with 0xF3 (1111 0011). Then wouldn't we end up with 0x00 at DDRD? Wouldn't OR'ing it get the desired result of 0xF3? Also, I don't understand why you include the bitwise operator at all. Why not just set the value of the register (DDRD = 0xF3;)? Is there some advantage? Thanks for any input.

tonysorensen
Автор

A nice video would be to show how you can use a pushbutton to generate an interrupt to control a LED with RTOS

eamonhannon
Автор

Hi there, I want to learn how to interface bluetooth/wifi module with pic18 or pic16. Would you be able to make another video? by the way I learn a lot of from your channel! thank

Jm-myrd
Автор

Can someone get me a link to datasheet for AtMega328p ?

leonitkrasniqi
Автор

EICRA |= ((0b10<<ISC10) | (0b10 <<ISC00)); is it same as EICRA |= 00001010;

洪焄菁
join shbcf.ru