(another) arduino sequencer thread.

I think that the code is quite old, right?

What code? The incomplete code you posted in the original message? What does it matter how old the code is, if it works.

when i check the code it keeps telling me that "BYTE" is no more used.

There are documented fixes for the issue.