Embedded Systems Tutorial
Basic Embedded C Programs in PIC16F877A,ATMEGA32L,ARM(LPC2129/38)....and simple projects
Labels
ARM7(LPC2129/38)
ATMEGA32L
PIC16F877A
Simple Projects
Saturday, 19 September 2015
LED Blinking in ATMEGA32
#include <avr/io.h>
#include <util/delay.h>
int main(void)
{
int i;
DDRD=0XFF;
while(1)
{
PORTD=0XFF;
_delay_ms(500);
PORTD=0XFF;
_delay_ms(500);
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment