Manual

Table Of Contents
Arduino Kit Demo Description 10 DobotPixy Demo
Issue V2.1 (2019-12-05) Demo Description Copyright © Yuejiang Technology Co., Ltd
38
Attached table 6 LED indicator status control
Attached table 7 Voice command check
Attached table 8 Start to check the voice command
NOTICE
Grove speech recognizer only supports 22 voice commands without user-defined. The
commands and their return values are as shown in Attached program 1.
Attached program 1 Command description
const char *voiceBuffer[] =
{
"Turn on the light", //return 1
Prototype
int SmartKit_LedCheckState(char color)
Description
Check the LED indicator status
Parameter
color: LED indicator color. Value range: BLUE, GREEN, RED
Return
LED indicator status: ON or OFF
Prototype
int SmartKit_LedTurn(char color, int state)
Description
Control the LED indicator status
Parameter
color: LED indicator color. Value range: BLUE, GREEN, RED
state: LED indicator status. Value range: ON or OFF
Return
None
Prototype
int SmartKit_VoiceENGVoiceCheck(int num)
Description
Check the voice command
Parameter
num: Vocie command number
Return
TURE: the voice command is checked. False: No voice command
Prototype
void SmartKit_VoiceENGStart(void)
Description
Start to check the voice command
Parameter
None
Return
None