Ok, another 4 hours. I don't get it.
I also tested it with
while(test == 1) {
Serial.println("up");
if (test == 0) {
goto outer;
}
}
outer:;
in the void loop.
What i'm missing or doing not how all the other examples i see are done:
http://forum.arduino.cc/index.php?topic=41706.msg302984#msg302984
First answer: How can I break out of two nested for loops in Objective-C? - Stack Overflow
http://letsmakerobots.com/node/37905