Hello Hans,
Please read the forum guidelines How to get the best out of this forum , particularly the bit about posting code. If you put the code in your post with code tags </> more people are likely to read it and help you.
Please also see Serial Input Basics - updated for advice on serial communications.
Thanks,