0

The Infinite cycle question
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

The Infinite cycle question

by literallyHYDRA on Mon Jul 22, 2019 8:06 am

I've seen this question pop up on many forums but it's never seemed to be answered... Some say if you have a button and a strip cycling through a rgb(w) color wheel infinitely - that cycle cannot be switched by another cycle upon the press of the button as the cycle must finish in order for the button to work?

Is this actually the case? I would've thought interrupting the code to read a button press would initiate another cycle to run instead of the current cycle?

literallyHYDRA
 
Posts: 6
Joined: Thu Jun 27, 2019 11:18 pm

Re: The Infinite cycle question

by adafruit_support_bill on Mon Jul 22, 2019 8:16 am


adafruit_support_bill
 
Posts: 74617
Joined: Sat Feb 07, 2009 10:11 am

Re: The Infinite cycle question

by literallyHYDRA on Mon Jul 22, 2019 8:20 am

Oh sweet, thanks Bill!

literallyHYDRA
 
Posts: 6
Joined: Thu Jun 27, 2019 11:18 pm

Please be positive and constructive with your questions and comments.