
kamaroman68
Hey everyone,
Project has 3 Hbridges (robo claw). All controlled serially example...
Sendserial(d0,38400,125)# lft track forward 1 sec
sleep(1000)
What I would like to do is while moving forward I would like its body controlled H-bridge to start moving body up so that full body extend will be in process before machine reaches kitchen.
Ive tried something like...
Sendserial(do,38400,125) , Sendserial (d1,38400,70)
But obviously it doesn't work. Im sure its something using control command.... but I haven't got my head wrapped around the whole ControlCommand() thing yet. Thanks in advance.
Chris
Code:
Code:
Code:
The robot will continue moving during a sleep. The sleep just delays the next line for however many ms is specified.
Not to be too much of a bother but can someone provide an example using control commands to? All of my scripting can't be done serially over time (sleep command) once o figure that command out I think I will be golden.
As for using the CONTROL COMMAND, there is a tab labelled Cheat Sheet when editing a script. I can see from your profile that you have taken the EZ-Script lesson. I feel it would help if you read the EZ-Script lesson a second time.
Code:
Use the sleep commands to control when the motors start and stop