DFRobot Veyron Manuale - Pagina 9

Sfoglia online o scarica il pdf Manuale per Servo Drives DFRobot Veyron. DFRobot Veyron 14. Veyron servo driver 24-channel

DFRobot Veyron Manuale
delay(5);
end
// a long command, you'd better extend it
Serial.print("\r");
delay(1000);
Serial.print("#5 P2200");// Channel 5 will move to 2200us within 500ms
delay(5);
Serial.print("\r");
delay(1000);
}
Command Lists

Standard Commands

#<ch> P <pw> S <spd> ...# <ch> P <pw> S <spd> T <time><cr>
<ch>: Servo channel number, 0 ‐ 23 
<pw>: pulse width(us), 500 ‐ 2500; the destination position 
<spd>: single‐channel speed (us/s)(Optional) 
: the whole channel speed (ms), maximum 65535(Optional) 
<cr>: carriage return, the symbol of the end, ASCII code 13 (Required) 
<esc>: Cancel the current command, ASCI code 27 
Example Commands
#5 P1600 S750 <cr>
The servo on Channel 5 will move to 1600us position at the speed of 750us/s.
#5 P1600 T1000 <cr>
The servo on Channel 5 will move to 1600us from any position after 1000ms.
//wait for first comand transmission done, if you s
// send Carriage Return <CR>
//wait for servo go to the set position