The first “Hello World!” project I prefer for Microcontroller is LED Blinking. I have used AVR microcontroller . Here,All pins of PORTB declared as output.
Here,i have written code in C using AVR Studio 5.0.
* Created: 3/30/2011 9:36:30 AM
* Author: sfg
DDRB=0xFF; //all pins of PORTB declared as output
//TODO:: Please write your application code
PORTB=0xFF; //High State
PORTB=0×00; //low state