So schwer kann das doch nicht sein, oder? http://lmgtfy.com/?q=avr+c+tutorial