top of page

Getting Started with Atmega32

Writer's picture: Amit RanaAmit Rana

Updated: Jan 15, 2022

This is first in the series of AVR tutorials on kitflix. I am going to share series of videos through blog posts along with the code’s to understand it better. The tutorials are less about reading and more about watching the videos to understand better.

This First tutorial is about AVR microcontrollers and getting started into it. To follow this tutorial, you’ll need to install atmel studio and simulIDE in your computer

iot online course


/*
* LEDBlink.c
*
* Created: 08-10-2020 09:44:14
* Author : Amit Rana
*/
#define F_CPU 8000000L
#include <avr/io.h>
#include<util/delay.h>
int main(void)
{
/* Replace with your application code */
DDRB = 0xff;
while (1)
{
PORTB = 0x00;
_delay_ms(1000);
PORTB = 0xff;
_delay_ms(1000);
}
}

116 views0 comments

Enroll to Free Courses

bottom of page