Joystick control servo attached on arduino


i am trying to controll servo attached to arduino with logitech joystich, but with no success. I attach arduino and joystick service in myrobotlab. In joystick service my jojytick is working perfect, also in servo service i can rotate servo with mouse (moving potentiometer left-right).

I copy phyton code from here

When i try to execute the code i ger phyton error code something about servoPing

I would be glad if someone could help me, because i dont have a clue about phyton :)

-----Traceback (most recent call last):  File string, line 28, in moduleNameError: name servoPing is not defined at org.python.core.Py.NameError( at org.python.core.PyFrame.getname( at org.python.pycode._pyx70.f$0(string:57) at org.python.pycode._pyx70.call_function(string) at at at org.python.core.Py.runCode( at org.python.core.Py.exec( at org.python.util.PythonInterpreter.exec( at org.myrobotlab.service.Python$

Alessandruino's picture

Hi Robko... I fixed the

Hi Robko... I fixed the script... Try again... It was a typo error... (servoPing vs servoPin)

Let me know