| aSP03_CheckCompletion | Index |
Definition:
| char aSP03_CheckCompletion( | ); |
Return Value:
Description:
This routine requests a status byte from the Devantech SP03 Speech Module. The byte will be non-zero while the module is in the process of saying a phrase. When saying a stored phrase, the status byte will be the number of the phrase.
Example:
#include <aSP03.tea>
aSP03_SpeakInt(0,7,3,-73);
while (aSP03_CheckCompletion())
{
i=i+1;
}
This would make the speech module say "minus seventy-three" and increment variable i until the phrase is completed.
Related: