DFRobot DFR0699 Manual - Página 10

Procurar online ou descarregar pdf Manual para Unidade de controlo DFRobot DFR0699. DFRobot DFR0699 20 páginas.

DFRobot DFR0699 Manual
Serial.println("VoiceStart");
while (voicerecorder.getNowState() == VOICE_PLAYING)
{
Serial.println("TimeRemaining " + String(voicerecorder.getTimeRemaining()));
delay(1000);
}
delay(3000);
}
}
I2C Speech Synthesis
There are two modes for speech synthesis.
ICE_SYNTHESIS_MODE
Input -123.987
Output "negative one hundred twenty three nine eight seven"
Can be used to directly read sensor data, measurement parameters, etc.
The valid range of this mode is 9 integers and 9 decimals. If the integer is out of the range, the synthesis will be stopped, and if the decimal is
out of the range, the tail will be truncated.
VOICE_REPLACE_MODE
Input 15071097
Output "one five zero seven one zero nine seven"
Can be used to read student ID, phone number, etc.
//Show remaining available time, exist when ending