| aSP03_WaitForCompletion | Index |
Definition:
| void aSP03_WaitCompletion( | ); |
Return Value:
Description:
This routine polls the Devantech SP03 Speech Module. until it has completed speaking a phrase. This routine can be used to pace phrases when their duration is not known.
Example:
#include <aSP03.tea>
aSP03_SpeakInt(0,7,3,-73);
aSP03_WaitForCompletion();
aSP03_SpeakPhrase(1);
aSP03_WaitForCompletion();
aSP03_SpeakString(0,4,3,"hello there");
aSP03_WaitForCompletion();
This would make the speech module say "minus seventy-three", then say stored phrase 1, then say "hello there". Then the program continues.
Related: