·I made o robotic arm using 8 servomotors,and i am goin to·move servos via pc(using vb).
·The pc· and the controler (both programs vb and parallax) collaborate perfectly.
·In my program that controls the servos, i use serin command like this
·After i have to use a loop because i wont to keep all motors in the selected position like this
· ·PULSOUT VAR-X,VAR-X1
··· PULSOUT BLA,BLA.......
· Now my problem is that ,the·program refresh all the time the motor positions,as i wont to do but it
· never returns to serin command to get new data.
· How can i deal with it?
· I mean that when there are new data in SERIN command, program must exits of loop reads new data
· and enter the loop· to refresh motor positions again.