Das Thema ist auch in diesem Beitrag sauber gelöst

http://www.avr-praxis.de/forum/showthread.php?t=13