Hi, as there are not many Posts about the easyVr 3 Voice Recognition, maybe someone here can help me: I trained the Trigger-Word ("KITT") and then just for a quick test a Command in Group 1 to turn on an LED ("Light"). The Arduino does trigger when i say KITT, but also on any other Word or even Sound (Clapping for example). After it is listening, it works great, just turning the LED on and off when i say "Light".
Those are the lines i edited:
void action()
{
switch (group)
{
case GROUP_0:
switch (idx)
{
case G0_KITT:
// write your action code here
// group = GROUP_X\SET_X; <-- or jump to another group or wordset for composite commands
{
group = GROUP_1;
easyvr.playSound(1, EasyVR::VOL_FULL);
}
break;
}
break;
case GROUP_1:
switch (idx)
{
case G1_LICHT:
// write your action code here
// group = GROUP_X\SET_X; <-- or jump to another group or wordset for composite commands
group = GROUP_0;
if(digitalRead(11) == HIGH) {digitalWrite(11, LOW);}
else {digitalWrite(11, HIGH);}
break;
}
break;
Anyone has any ideas?