coding
tell me what is important: a piece of code or assembly of hardwares .........?
here is answer...!!!
we will discuss about ATmega series micro controller.
you can find free data sheet of any ATmega8/16/32/64 etc on internet.
some simple snippets are following