My question: Is there any way to terminate the gpio.serout sequence (cleanly, before it is finished) and restart with a different sequence?
Ideally, I just need to change the data in the sequence array. I don't have to stop the actual loop. Once started, I have no need to stop the actual loop for the life of the application. Changing the variable doesn't change the sequence (I presume the data is copied at start time). I tried establishing a new serout, but an error is generated: "Already Freed". This does stop the sequence and I can restart it, but it doesn't seem very clean. I don't know if there is a way of accessing the internal counter and setting it to the end, or poking new values into the sequence buffer. Any ideas would be greatly appreciated.