Hello everyone, I have this project Talking Clock. It speaks the time when I say a command “time”. So it involves VRV3 module, RTC, Arduino, and WaveShield. Now, our professor asked me to explain the codes in the Voice Recognition, particularly the value of VR.load(timeRecord) so that I can compare it to zero, from the statement
if(myVR.load((uint8_t)timeRecord) >= 0)
The same in these lines,
ret = myVR.recognize(buf,50);
I’m trying to control LED depends on the voice command being recognized. But our professor asked me the value of “buf” so that the value myVR.recognize(buf,50) will be the value of “ret”.
Any reply is very much appreciated. Thank You.
This is the arduino file I had copied from the VR library.
vr_sample_control_led.ino (3.31 KB)