Repository navigation
|
Is there a way to stop (or suspend) HomeSpan... effectively the opposite of |
Replies: 1 comment 1 reply
|
If you are manually calling |
8000
|
Is there a way to stop (or suspend) HomeSpan... effectively the opposite of |
|
If you are manually calling |
If you are manually calling
homeSpan.poll()from within the arduino loop() function then you can simply stop calling that to avoid any further HomeSpan action. If you are using auto-polling, you should be able to usevTaskDelete()as you suggest. The functionhomeSpan.getAutoPollTask()returns the handler for that task. I've not tried this myself, but I think it should work. You can also tryvTaskSuspend(), which should halt the HomeSpan auto-polling task and allow resumption if needed.