QUESTION Need help actuating Arduino Servo

Discussion in 'Apps' started by Frazic, Apr 14, 2016.

  1. Frazic

    Frazic New Member

    Joined:
    Apr 6, 2016
    Messages:
    2
    Likes Received:
    1
    Hey guys, I have been trying to actuate an Arduino Servo with the speed of the car I'm driving. I have managed to extract the live data from the game using Shared Memory and am trying to send it to the Arduino over the Serial port.

    I have not yet managed to represent the actual speed of the car on the Servo, and I am wondering why. I'm pretty sure the problem comes from the Arduino Code, I'm either not receiving the data properly or misusing it. Could you have a look and help?

    Thanks!


    C++ Program to send data to the Arduino :

    This is based on the Shared Memory reference : http://www.assettocorsa.net/forum/index.php?threads/shared-memory-reference-31-03-2016.3352/



    Arduino Code :

    The Serial Communication between the C++ program and the Arduino is done with this library :http://playground.arduino.cc/Interfacing/CPPWindows



    Thanks a lot, hope you can help!
     
    luchian likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice