mir hatte auf Anhieb dieses geholfen

https://www.mikrocontroller.net/topic/12216#new