Voice to start and stop an action.

Hi folks,

Let me explain what I want to do rather than blather on :-).

After having the MOVI initiate a function, I’d like to be able to keep that function doing what it does until the user says “Stop” or whatever.

One use for this would be to preview channels on a TV, do a channel up and pause for, say, 5 seconds and then do it again until the user says “Stop”.

I’m sure there is a way to do this, I’m just not seeing it.

Advice please and thanks :-)!

This is what the ask() function is meant for.

The NestedDialog example (under Examples/intermediate):

shows one way how to use it.

Hope that helps,
Gerald

Thanks Gerald!

I found an ?easier? way using timer interrupts (DueTimer), now she can either scan the EPG or the channels.

Just had to comment out the Timer3 aspect as it interfered with the IRremote stuff.

Will keep that in mind for the future though.

Thanks!