while (event()) {}
loop. That way it knows when to end. I'll see if I can come up with the exact code you need script_coin1 while (!event(start1)) { toggle(0, 0b1); delay(100); } off(0, 0b1);
script_coin2 while (!event(start2)) { toggle(0, 0b10); delay(100); } off(0, 0b10);
It looks like you're new here. If you want to get involved, click one of these buttons!