We all have seen the blinking lights in christmas and diwali. But very few of us really know or wanted to know how it works.
This Project helps you to make similar type of device by using ATmega16.
In this project we are using 8 LEDS and ATmega8 dev board v1.0 to make blinking LED device
#define F_CPU 1000000UL
void wait(float x)
DDRC=0xFF; // PORT B as output port