sieh dir mal die Lib an, das wird dir sicher weiterhelfen.
http://www.mikrocontroller.net/forum...32451.html#new