Lol, i'd already started along that line!Douglas6 wrote:You didn't hear it from me, but I'd simply make sequence a global variable. And then read up on why global variables are evil.
That sounds good to me, I guess the button can just be in main. I am just not sure how to control the lights thread to change the sequence, any ideas?davef21370 wrote:Why have the button in a thread, just put it in an infinite loop and have it control the light thread.
Dave.