End mid loop() @ sensor input, how?

Ok...
So I can't use the RGB-fade version above? It isn't "in use" when I'm running any of the mood-fades (the ones that need the inputs) but runs for the main part of the program.

I haven't had time to do any changes to my code yet so dunno if/how it will interfere with the rest.

I do think I've found a way to do the mood-fades though:

If needed I'll have to have a look at the main rgb-fade too, this sure became a much bigger project then I had thought from the start...

But if nothing else it serves as a good lesson in problem solving and googling :stuck_out_tongue:

I've learned a lot of other useful things during this project so the next one will hopefully go smoother.