
Doombot
USA
Asked
— Edited
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.
Strange. I'm running out of ideas now. So the script runs ok on its own without voice recognition, correct? Are you running the script in the voice rec control as a script block, or a ControlCommand() in the phrase configuration?
In post #6 you posted a script you was using. Have you tried a simple set(D8,on) on its own in the script in the speech rec control?
@Doombot you need to remove the quotes from "1" and "0"...should be
Are you having trouble with D8 only?
Is your SET(on) and set(off) working for other ports?
Richard is correct, "Quotes" are for "Strings".
String A string consists of alphanumeric characters to create words. "This" is a strong. So is "This". And "This is a string containing a sentence".
Example: $x = "This is a string"
Numbers Numbers are simply numeric. A number is a 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 only. The only additional symbols you can use for numbers are a - (minus) and a . (decimal)
Example: $x = 3.14
@Dj
I just got home and tried it. Everything I did in the beginning worked, I just needed the EZb to be connected...very weird but it works.
@Richard R and @Dj Thanks! I'm sure I know that (by now) I was just beat and I forgot...but thanks for the correction kind sirs.
On to testing! To those who care I'm just finishing up the cosmetics on my bot! Mechanically it's sound and ready to kill!
:D
Sounds like you may have it sorted then. Looking forward to seeing the end results of your bot.
@ Doombot
Hi, Any pictures yet? The weather is getting nice, so I can't wait to see him by the Harley..
What was the final script you ended up with?
Ron
Doombot did this ever get completely resolved? I'm having very similar issue.
@ANDY ROID
Those are just test scripts, but I do use a lot of set() commands since I use a lot of motors and tip120 circuits...so i turn on/off digital pins a lot...
Oh no pictures just yet...
@kamaroman68 No it was resolved on it's own, since the test scripts i wrote worked when the EZb was connected...it wasn't working when the EZb is NOT connected. I don't know why...but instead of giving credit to anyone I just left it unresolved. What issue do you have? Maybe I can help...