Hello Everyone
I am trying to setup a web page with some simple controls, either buttons or sliders, which can be clicked or slided to drive a servo configuration (2 servos) in a pan/tilt config.
I am able to communicate with the SSC-32 controller on my linux box via /dev/ttyUSB0. I have written some basic php scripts to control the servos.
I can select a servo number and drive it either way, or multiple servos.
I am using AJAX to do the above.
What is the best way to address the button control or slider above? From what I can see, the commands to the SSC need to be seperated and allowed to execute in full before processing the next. So, if the slider is rapidly moved, how does one control that, because, theoretically as you slide it, there is a multitude of “#x Pxxx” commands being thrown at the controller.