End mid loop() @ sensor input, how?

tobbeef:
Thankfully the RGBfade won't need any stop command, just a counter.

I worry that you may think it is OK to use blocking code for the RGBfade because it does not need a stop command. However if you want the rest of the program to be responsive you must not use blocking code in any part of the program.

...R