That makes sense. I have one more question:
I would like to run a thread that monitors a bunch of sensors for a particular pattern. I set up a deamon thread that runs in a "while true:" loop, but this is still causing some problems.
I also considered setting this up as an event, but I don't see how I can build a custom event that requires parameters being passed to the constructor.
This is getting very frustrating because what I want to do is conceptually simple, but seems to be difficult to implement. Any advice would be appreciated.
|