Asked — Edited

Turning Digital Ports On/Off With Speech?

Hello all When I'm using a Movement Panel the digital ports work (using "set digital" to verify, it turns red when off and green when it's on) but somehow when I try to use speech control to turn the same port on, it doesn't work.

Can someone test this for me, or is this a possible bug?

Thanks all.:P


ARC Pro

Upgrade to ARC Pro

Join the ARC Pro community and gain access to a wealth of resources and support, ensuring your robot's success.

PRO
Synthiam
#33  

yes, the EZ-B needs to be connected for any commands that communicate with the ez-b to work.

@Kamaroman68, do you have any additional information of what you're doing? To use speech recognition is very easy. Simply add the code to your voice command

  1. load latest ARC

  2. add speech recognition (controls -> add control -> audio -> speech recognition)

  3. press GEAR config icon on speech recognition control

  4. Enter a new phrase "turn digital port on"

  5. press the script edit to edit the script for the new phrase

  6. enter this script: SET(D0, ON)

  7. Enter a new phrase "turn digital port off"

  8. press the script edit to edit the script for the new phrase

  9. enter this script: SET(D0, OFF)

Now say those two phrases and you will turn D0 on and off

If the speech is not being detected, press the ? (question mark) next to the X (close) to find out how to train your voice. Here's a direct link to the help for training your voice: https://synthiam.com/Tutorials/Help.aspx?id=90