Siehe Antwort auf mikrocontroller.net.