Hi again,
You're the man! Thanks!
But I'm still a little confused about the static int part... especially the last piece of code:
else crossed -= sign(crossed);
I'm curious where the number 3 respective -3 comes from.
My "theory" about this, is that it is beeing used to control the "age" of the crossover/under signal. Can someone confirm this? And tell me what the number 3 does?