Hi,
For some reason the code won't show properly at my end, there's still "only" the same amount of code as in the first message. I did get an email notification and the complete code was embedded there so it seems to be an issue with the forum or my web-browser or something.

Anyway, I think you should look into the issues I pointed out in my first reply. I'm pretty sure that should put you on the right track.

EDIT: What does the DEFINE CODE_SIZE 32 do?

/Henrik.