• Hans-Jörg posted an update 8 years, 2 months ago

    Hi,

    I have two new problems:
    I installed InMoov3.full.byGael.Langevin.1.py and a Arduino Mega2560 Board at my Raspberry P3
    – Now I need digital out Ports to switch my lights with a Remotecontrol
    iO1.left.pinMode(Portnr,Arduino.OUTPUT)
    iO1.left.serialWrite(Portnr,Arduino.LOW) do not work (Error)

    – I have two Servos for the eyex direction, both servos use a own Port. How could I sync the Ports?
    I think I need a Interrupt-Routine, a own Thread where I get the Position of Servo-lefteye and than set the Servo-righteye with an Offset.

    Thanks for your request

    • Sorry, I01.left.digitalWrite(Portnr,Arduino.Low) is the correct syntax.

      The Error Message :
      “——Traceback (most recent call last): File string, line 285, in moduleAttributeError: org.myrobotlab.service.InMoov object has no attribute left”
      The same Error with I01.left.PinMode(Portnr,Arduino.Output)