Schau mal hier ins Wiki bzw. auf www.mikrocontroller.net. Da gibts gute tutorials.