1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

CarDashX : TM1638 sketch for GameDash

Discussion in 'Official Companion Apps' started by vthinsel, Aug 26, 2015.

  1. zigzag49

    zigzag49 Active Member

    Joined:
    May 27, 2014
    Messages:
    251
    Balance:
    712Coins
    Ratings:
    +220 / 3 / -0
    My Motion Simulator:
    2DOF, Arduino
    I will test your code because mine only works well with PCAR's and not knowing the configuration dash1 ..... On the other games.
  2. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    439
    Location:
    FRANCE
    Balance:
    6,010Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    So, how is testing going ?
  3. zigzag49

    zigzag49 Active Member

    Joined:
    May 27, 2014
    Messages:
    251
    Balance:
    712Coins
    Ratings:
    +220 / 3 / -0
    My Motion Simulator:
    2DOF, Arduino
    vien I just tried the code but does not want this upload, yet I am the library, here is the error.


    Arduino : 1.6.5 (Windows 7), Carte : "Arduino/Genuino Uno"

    CarDashX:90: error: no matching function for call to 'TM1638::TM1638(int, int, int)'
    CarDashX.ino:90:23: note: candidates are:
    In file included from CarDashX.ino:46:0:
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:113:5: note: TM1638::TM1638()
    TM1638();
    ^
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:113:5: note: candidate expects 0 arguments, 3 provided
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:108:7: note: TM1638::TM1638(const TM1638&)
    class TM1638
    ^
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:108:7: note: candidate expects 1 argument, 3 provided
    CarDashX.ino: In function 'void processStop(unsigned int)':
    CarDashX:167: error: 'class TM1638' has no member named 'clearDisplay'
    CarDashX:168: error: no matching function for call to 'TM1638::setLEDs(int)'
    CarDashX.ino:168:19: note: candidate is:
    In file included from CarDashX.ino:46:0:
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:164:10: note: void TM1638::setLEDs(uint8_t, uint8_t)
    void setLEDs(uint8_t green, uint8_t red);
    ^
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:164:10: note: candidate expects 2 arguments, 1 provided
    CarDashX:169: error: 'class TM1638' has no member named 'setupDisplay'
    CarDashX.ino: In function 'void processStart(unsigned int)':
    CarDashX:177: error: 'class TM1638' has no member named 'setupDisplay'
    CarDashX:178: error: 'class TM1638' has no member named 'clearDisplay'
    CarDashX:179: error: no matching function for call to 'TM1638::setLEDs(int)'
    CarDashX.ino:179:19: note: candidate is:
    In file included from CarDashX.ino:46:0:
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:164:10: note: void TM1638::setLEDs(uint8_t, uint8_t)
    void setLEDs(uint8_t green, uint8_t red);
    ^
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:164:10: note: candidate expects 2 arguments, 1 provided
    CarDashX.ino: In function 'void printModule(unsigned int, int, int)':
    CarDashX:200: error: 'class TM1638' has no member named 'setDisplayToString'
    CarDashX.ino: In function 'void handlePreviousState()':
    CarDashX:242: error: no matching function for call to 'TM1638::setLEDs(word&)'
    CarDashX.ino:242:23: note: candidate is:
    In file included from CarDashX.ino:46:0:
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:164:10: note: void TM1638::setLEDs(uint8_t, uint8_t)
    void setLEDs(uint8_t green, uint8_t red);
    ^
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:164:10: note: candidate expects 2 arguments, 1 provided
    CarDashX:288: error: 'class TM1638' has no member named 'setDisplayToString'
    CarDashX:296: error: 'class TM1638' has no member named 'setDisplayToString'
    CarDashX:305: error: 'class TM1638' has no member named 'setDisplayToString'
    CarDashX:313: error: 'class TM1638' has no member named 'setDisplayToString'
    CarDashX.ino: In function 'void dispIndicators()':
    CarDashX:415: error: 'class TM1638' has no member named 'clearDisplay'
    CarDashX:416: error: 'class TM1638' has no member named 'setDisplayToString'
    CarDashX.ino: In function 'void setup()':
    CarDashX:424: error: 'class TM1638' has no member named 'setupDisplay'
    CarDashX:425: error: 'class TM1638' has no member named 'clearDisplay'
    CarDashX:426: error: 'class TM1638' has no member named 'setDisplayToString'
    CarDashX:427: error: no matching function for call to 'TM1638::setLEDs(int)'
    CarDashX.ino:427:24: note: candidate is:
    In file included from CarDashX.ino:46:0:
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:164:10: note: void TM1638::setLEDs(uint8_t, uint8_t)
    void setLEDs(uint8_t green, uint8_t red);
    ^
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:164:10: note: candidate expects 2 arguments, 1 provided
    CarDashX:435: error: no matching function for call to 'TM1638::setLEDs(int)'
    CarDashX.ino:435:22: note: candidate is:
    In file included from CarDashX.ino:46:0:
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:164:10: note: void TM1638::setLEDs(uint8_t, uint8_t)
    void setLEDs(uint8_t green, uint8_t red);
    ^
    C:\Users\eric\Documents\Arduino\libraries\TM1638/TM1638.h:164:10: note: candidate expects 2 arguments, 1 provided
    CarDashX.ino: In function 'void loop()':
    CarDashX:457: error: 'class TM1638' has no member named 'clearDisplay'
    CarDashX:468: error: 'class TM1638' has no member named 'clearDisplay'
    CarDashX:475: error: 'class TM1638' has no member named 'clearDisplay'
    CarDashX:485: error: 'class TM1638' has no member named 'clearDisplay'
    CarDashX:491: error: 'class TM1638' has no member named 'clearDisplay'
    CarDashX:497: error: 'class TM1638' has no member named 'clearDisplay'
    CarDashX:512: error: 'class TM1638' has no member named 'clearDisplay'
    Multiple libraries were found for "EEPROMex.h"

    Used: C:\Users\eric\Documents\Arduino\libraries\EEPROMEx

    Not used: C:\Program Files (x86)\Arduino\libraries\EEPROMEx

    no matching function for call to 'TM1638::TM1638(int, int, int)'

    Ce rapport contiendrait plus d'informations si l'option
    "Montrer les informations de sortie pendant la compilation"
    était activée dans Fichier > Préférences.
  4. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    439
    Location:
    FRANCE
    Balance:
    6,010Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    Hello,

    You are not using the correct TM1638 library.
    your mention void setLEDs(uint8_t green, uint8_t red) whereas the good one is void setLEDs(word led) in the header file.
    Delete your TM1638 folder, replace it with the one I provided and you should be good to go.

    Bonjour Eric :p
    Le problème semble en effet etre sur la librairie. Ce n'est pas la bonne. Supprime ton répertoire tm168 du répertoire "libraries" et récupère celui du premier post. Notamment les définitions des fonctions ne collent pas avec celle que tu utilise.
  5. zigzag49

    zigzag49 Active Member

    Joined:
    May 27, 2014
    Messages:
    251
    Balance:
    712Coins
    Ratings:
    +220 / 3 / -0
    My Motion Simulator:
    2DOF, Arduino
    Ok je test aujourd'hui et te redit si sa fonctionne,merci.

    Ok test today and I say again to you if it works, thank you
  6. zigzag49

    zigzag49 Active Member

    Joined:
    May 27, 2014
    Messages:
    251
    Balance:
    712Coins
    Ratings:
    +220 / 3 / -0
    My Motion Simulator:
    2DOF, Arduino
    Sa Fonctionne Avec la nouvelle bibliothèque TM1638, cependant je ne arrive pas à la vitesse d'Display non COTER et le rapport d'engagement de l'Autre.
    Est Ce qu'il ya de l'ONU ordre de bouton ous appuyer?

    Assetto Corsa et versez le moment, le test de éffectuer sur PCAR.


    Il fonctionne avec la nouvelle bibliothèque de TM1638, mais je ne peut pas montrer la vitesse d'une dimension et d'engager sur l'autre. Y at-il un ordre ou un bouton soutien?
    Essai Effectué sur les entraineurs et Assetto Corsa ACTUELLEMENT.


    Edit:
    C'est bon j'ai trouver pour afficher vitesse et rapport engager , bouton1 afficheur gauche et bouton2 afficheur droit, c'etait si simple:grin

    It's good I found to display speed and committed report, button1 and button2 left display right display, it was so simple
    Last edited: Nov 10, 2015
  7. maximum

    maximum New Member

    Joined:
    Mar 30, 2014
    Messages:
    1
    Balance:
    - 281Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 6DOF
    very nice job~~!!!
  8. zigzag49

    zigzag49 Active Member

    Joined:
    May 27, 2014
    Messages:
    251
    Balance:
    712Coins
    Ratings:
    +220 / 3 / -0
    My Motion Simulator:
    2DOF, Arduino
    Je revient vers toi car il y a quelques jeux qui fonctionne mal avec le dash.
    Il y a raceroom , les deux dernières leds ne fonctionne pas , les rapports ok , la vitesse est tres aléatoire et ne dépasse jamais les 100 kmh ou retombe a 0 d'un coup , voici une video.


    Ensuite dirt rally , le compte tour s'affiche a la place des rapport de vitesses qui eux ne fonctionne pas , les leds reste éteinte et la vitesse quand je suis a 50 kmh dans le jeu sur le dash il s'affiche 15 kmh ,la video.


    Aurais tu une solution ? Il faut configurer les dash?
    merci


    I come to you because there are some games that work well with the dash.
    He RaceRoom there, the last two leds does not work, ok the reports, the speed is very random and never exceeds 100 kmh or falls to 0 of a sudden, here's a video.


    Then dirt rally, the tachometer is displayed in place of the gear ratio that is not working, the LEDs remain off and speed when I was 50 kmh in the game on the dash it appears 15 kmh, the video.


    Would you have a solution? Thank you
  9. zigzag49

    zigzag49 Active Member

    Joined:
    May 27, 2014
    Messages:
    251
    Balance:
    712Coins
    Ratings:
    +220 / 3 / -0
    My Motion Simulator:
    2DOF, Arduino
    Le problème avec raceroom est régler , pour dirt rally au niveau des les c'est ok ,aussi pour les rapport de vitesse par contre la vitesse m'affiche toujours 15 kmh au lieu de 50 dans le jeu.
    Je continu à chercher , merci prodige pour tes solutions .

    The problem with RaceRoom is set for dirt rally of the level that is ok, as for speed against the speed report always shows me 15 kmh instead of 50 in the game.
    I continued to look, thank you for your miracle solutions.
  10. prodigy

    prodigy Burning revs

    Joined:
    Oct 27, 2013
    Messages:
    459
    Location:
    Croatia
    Balance:
    6,698Coins
    Ratings:
    +399 / 4 / -0
    My Motion Simulator:
    2DOF, 3DOF, AC motor, SCN5, JRK
    @zigzag49

    Check my post on previous page, what to do for different games:
    CarDashX : TM1638 sketch for GameDash

    For Dirt Rally, you need to multiply Speed value with 3.6, you can do that by pressing Button 3 on the dashboard. You also need to change some Output code, because RPM and Gear is on different dash. See my Interface-Output line.
    gamedash-dirtrally.JPG

    For RaceRoom, I had the same problem with speed and because I used another Arduino code, some settings (TOHEX, PAD 4 0) in the Dash1, Dash2.. was still there, even though I deleted them and save the empty boxes. I think this is a bug with GameDash. So the best thing is to open "My Profiles", then open each Dash.cfg file separately with Notepad, delete everything you find inside and save files. Don't change OutputSetting.cfg file, just Dash.cfg files.

    gamedash-raceroom1.JPG

    gamedash-raceroom2.JPG

    In Dash2 Output file write: Math * 10.
    All other Dash.cfg files should be empty, and don't change OutputSetting.cfg file.

    gamedash-raceroom3.JPG

    If your RPM leds are not full, you can reset Max RPM with Button 6 on your dashboard.
    • Informative Informative x 1
    Last edited: Nov 13, 2015
  11. zigzag49

    zigzag49 Active Member

    Joined:
    May 27, 2014
    Messages:
    251
    Balance:
    712Coins
    Ratings:
    +220 / 3 / -0
    My Motion Simulator:
    2DOF, Arduino
    Thank you for your help, I have found the solution to most problems. :blush
    For dirt rally put the value 3.6 rule about the concern for speed, catches up with the dash by kmhcompared to the game but still is not linear.
    I still have to see if I just change the color of LEDs and so each ignition that I find too fast but not now, I look at the answer to your vthinsel about it.
    :cheers
  12. martin falz

    martin falz Member

    Joined:
    May 13, 2015
    Messages:
    58
    Location:
    Deutschland
    Balance:
    228Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    hi
    i have built a sketch for arduino max7219 8x8 led matrix only for gear. but it have no funktion in game.

    my sketch is this:

    Code:
    #include <MaxMatrix.h>
    #include <avr/pgmspace.h>
    const byte maxInUse = 1;        // Anzahl der MAX7219-Anzeigen (8x8-Matrix)
    const byte DIN = 8;   // verbunden mit DIN
    const byte CS  = 9;   // verbunden mit CS,
    const byte CLK = 10;  // verbunden mit CLK
    MaxMatrix m(DIN, CS, CLK, maxInUse);
    
    const unsigned char CH[] PROGMEM = {
      3, B00000000, B00000000, B00000000, B00000000, B00000000, // space
      1, B01011111, B00000000, B00000000, B00000000, B00000000, // |
      3, B00000011, B00000000, B00000011, B00000000, B00000000, // "
      5, B00010100, B00111110, B00010100, B00111110, B00010100, // #
      4, B00100100, B01101010, B00101011, B00010010, B00000000, // $
      5, B01100011, B00010011, B00001000, B01100100, B01100011, // %
      5, B00110110, B01001001, B01010110, B00100000, B01010000, // &
      1, B00000011, B00000000, B00000000, B00000000, B00000000, // '
      3, B00011100, B00100010, B01000001, B00000000, B00000000, // (
      3, B01000001, B00100010, B00011100, B00000000, B00000000, // )
      5, B00101000, B00011000, B00001110, B00011000, B00101000, // *
      5, B00001000, B00001000, B00111110, B00001000, B00001000, // +
      2, B10110000, B01110000, B00000000, B00000000, B00000000, // ,
      4, B00001000, B00001000, B00001000, B00001000, B00000000, // -
      2, B01100000, B01100000, B00000000, B00000000, B00000000, // .
      4, B01100000, B00011000, B00000110, B00000001, B00000000, // /
      4, B00111110, B01000001, B01000001, B00111110, B00000000, // 0
      3, B01000010, B01111111, B01000000, B00000000, B00000000, // 1
      4, B01100010, B01010001, B01001001, B01000110, B00000000, // 2
      4, B00100010, B01000001, B01001001, B00110110, B00000000, // 3
      4, B00011000, B00010100, B00010010, B01111111, B00000000, // 4
      4, B00100111, B01000101, B01000101, B00111001, B00000000, // 5
      4, B00111110, B01001001, B01001001, B00110000, B00000000, // 6
      4, B01100001, B00010001, B00001001, B00000111, B00000000, // 7
      4, B00110110, B01001001, B01001001, B00110110, B00000000, // 8
      4, B00000110, B01001001, B01001001, B00111110, B00000000, // 9
      2, B01010000, B00000000, B00000000, B00000000, B00000000, // :
      2, B10000000, B01010000, B00000000, B00000000, B00000000, // ;
      3, B00010000, B00101000, B01000100, B00000000, B00000000, // <
      3, B00010100, B00010100, B00010100, B00000000, B00000000, // =
      3, B01000100, B00101000, B00010000, B00000000, B00000000, // >
      4, B00000010, B01011001, B00001001, B00000110, B00000000, // ?
      5, B00111110, B01001001, B01010101, B01011101, B00001110, // @
      4, B01111110, B00010001, B00010001, B01111110, B00000000, // A
      4, B01111111, B01001001, B01001001, B00110110, B00000000, // B
      4, B00111110, B01000001, B01000001, B00100010, B00000000, // C
      4, B01111111, B01000001, B01000001, B00111110, B00000000, // D
      4, B01111111, B01001001, B01001001, B01000001, B00000000, // E
      4, B01111111, B00001001, B00001001, B00000001, B00000000, // F
      4, B00111110, B01000001, B01001001, B01111010, B00000000, // G
      4, B01111111, B00001000, B00001000, B01111111, B00000000, // H
      3, B01000001, B01111111, B01000001, B00000000, B00000000, // I
      4, B00110000, B01000000, B01000001, B00111111, B00000000, // J
      4, B01111111, B00001000, B00010100, B01100011, B00000000, // K
      4, B01111111, B01000000, B01000000, B01000000, B00000000, // L
      5, B01111111, B00000010, B00001100, B00000010, B01111111, // M
      5, B01111111, B00000100, B00001000, B00010000, B01111111, // N
      4, B00111110, B01000001, B01000001, B00111110, B00000000, // O
      4, B01111111, B00001001, B00001001, B00000110, B00000000, // P
      4, B00111110, B01000001, B01000001, B10111110, B00000000, // Q
      4, B01111111, B00001001, B00001001, B01110110, B00000000, // R
      4, B01000110, B01001001, B01001001, B00110010, B00000000, // S
      5, B00000001, B00000001, B01111111, B00000001, B00000001, // T
      4, B00111111, B01000000, B01000000, B00111111, B00000000, // U
      5, B00001111, B00110000, B01000000, B00110000, B00001111, // V
      5, B00111111, B01000000, B00111000, B01000000, B00111111, // W
      5, B01100011, B00010100, B00001000, B00010100, B01100011, // X
      5, B00000111, B00001000, B01110000, B00001000, B00000111, // Y
      4, B01100001, B01010001, B01001001, B01000111, B00000000, // Z
      2, B01111111, B01000001, B00000000, B00000000, B00000000, // [
      4, B00000001, B00000110, B00011000, B01100000, B00000000, // backslash
      2, B01000001, B01111111, B00000000, B00000000, B00000000, // ]
      3, B00000010, B00000001, B00000010, B00000000, B00000000, // ^
      4, B01000000, B01000000, B01000000, B01000000, B00000000, // _
      2, B00000001, B00000010, B00000000, B00000000, B00000000, // `
      4, B00100000, B01010100, B01010100, B01111000, B00000000, // a
      4, B01111111, B01000100, B01000100, B00111000, B00000000, // b
      4, B00111000, B01000100, B01000100, B00101000, B00000000, // c
      4, B00111000, B01000100, B01000100, B01111111, B00000000, // d
      4, B00111000, B01010100, B01010100, B00011000, B00000000, // e
      3, B00000100, B01111110, B00000101, B00000000, B00000000, // f
      4, B10011000, B10100100, B10100100, B01111000, B00000000, // g
      4, B01111111, B00000100, B00000100, B01111000, B00000000, // h
      3, B01000100, B01111101, B01000000, B00000000, B00000000, // i
      4, B01000000, B10000000, B10000100, B01111101, B00000000, // j
      4, B01111111, B00010000, B00101000, B01000100, B00000000, // k
      3, B01000001, B01111111, B01000000, B00000000, B00000000, // l
      5, B01111100, B00000100, B01111100, B00000100, B01111000, // m
      4, B01111100, B00000100, B00000100, B01111000, B00000000, // n
      4, B00111000, B01000100, B01000100, B00111000, B00000000, // o
      4, B11111100, B00100100, B00100100, B00011000, B00000000, // p
      4, B00011000, B00100100, B00100100, B11111100, B00000000, // q
      4, B01111100, B00001000, B00000100, B00000100, B00000000, // r
      4, B01001000, B01010100, B01010100, B00100100, B00000000, // s
      3, B00000100, B00111111, B01000100, B00000000, B00000000, // t
      4, B00111100, B01000000, B01000000, B01111100, B00000000, // u
      5, B00011100, B00100000, B01000000, B00100000, B00011100, // v
      5, B00111100, B01000000, B00111100, B01000000, B00111100, // w
      5, B01000100, B00101000, B00010000, B00101000, B01000100, // x
      4, B10011100, B10100000, B10100000, B01111100, B00000000, // y
      3, B01100100, B01010100, B01001100, B00000000, B00000000, // z
      3, B00001000, B00110110, B01000001, B00000000, B00000000, // {
      1, B01111111, B00000000, B00000000, B00000000, B00000000, // |
      3, B01000001, B00110110, B00001000, B00000000, B00000000, // }
      4, B00001000, B00000100, B00001000, B00000100, B00000000, // ~
    };
    
    byte sprite[] = {0, 0, 0, 0, 0, 0, 0};
    byte helligkeit = 0;    // Helligkeit der Matrix 0 - 15, dunkel - hell
    byte anzeigePuffer[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'};
    
    int Speed;
    int Gear;
    int Rpm;
    int RpmLeds;
    int RpmMax = 8000;
    int ShiftPoint = 4000;
    int LimitRange = 0;
    int UnderShiftPoint;
    int OverShiftPoint;
    int OverShift;
    int UnderShift;
    int buttonCheck = 1;
    int bufferArray[12];
    
    void setup() {
      Serial.begin(9600);
      m.init();
      m.setIntensity(helligkeit);
      m.clear();
      displayChar(anzeigePuffer[0], 2);
      Serial.println("Bitte Wert 012345678901 eingeben!");
      Serial.println("           000000G50000");
    }
    
    void loop() {
      if (Serial.available() == 12)  {    //if 24 bits available in the Serial buffer...
        int i;
        for (i = 0; i < 12; i = i + 1) { // read and label each byte.
          bufferArray[i] = Serial.read();
        }
        if (bufferArray[6] == 'G') {
          unsigned int gearSmTools = ((bufferArray[7] - 48) * 1);
          Gear = gearSmTools;
          Serial.print("You have set the Gear to a Value of: ");
          Serial.println(gearSmTools);
          if ((Gear > 0) && (Gear < 10)) {
            displayChar(anzeigePuffer[Gear], 2);
          }
        }
      }
    }
    
    void displayChar(byte zeichen, byte x) {
      memcpy_P(sprite + 1, CH + (zeichen - 32) * 6, 6);
      sprite[0] = sprite[1];
      sprite[1] = 8;
      m.writeSprite(x, 0, sprite);
    }
    
    what is wrong on this?

    can any one help me?

    sry for my bad english
  13. martin falz

    martin falz Member

    Joined:
    May 13, 2015
    Messages:
    58
    Location:
    Deutschland
    Balance:
    228Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    hi
    i have now the code fix.
    but i have the problem that the gear on the display 5-7 sekonds later the gear changed.
    what is the problem from this?
  14. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    439
    Location:
    FRANCE
    Balance:
    6,010Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    Thats a common mistake when using the same serial for input and output. Remove all your serial.println from your loop and that should be good. Outputing data confuses/delays gamedash.
    Also, next time, please create a new topic, as this one is focused on cardashX sketch. Thanks.
    • Agree Agree x 1
    • Informative Informative x 1
  15. zigzag49

    zigzag49 Active Member

    Joined:
    May 27, 2014
    Messages:
    251
    Balance:
    712Coins
    Ratings:
    +220 / 3 / -0
    My Motion Simulator:
    2DOF, Arduino
    Salut
    Je voudrai sa voir sa vous arrive aussi sur le jeu pcar's, en jouant en essai le dash fonctionne bien mais une fois en course il n'y a plus rien ,après plusieurs tentative sa ne fonctionne pas en course ,que en essai.
    Sa vous le fait aussi?

    Hi
    I would like her to see that also happens on the PCAR's game, playing test the dash works well but once the race there is nothing more, after several attempts its not working that test. It does too?
  16. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    439
    Location:
    FRANCE
    Balance:
    6,010Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    Hello,

    Are the gamedash values updated correctly in the main screen settings, or is it a problem only with the arduino code ?
    Which pcars version are you using ?
  17. zigzag49

    zigzag49 Active Member

    Joined:
    May 27, 2014
    Messages:
    251
    Balance:
    712Coins
    Ratings:
    +220 / 3 / -0
    My Motion Simulator:
    2DOF, Arduino
    Je ne pense pas que ce soit un souci sur le code arduino ,sa fonctionne avec les autres jeux.
    Je regarderai la version pcar's il y a eu une mise à jour ce week-end .

    I do not think that's a concern on the Arduino code, its works with the other games. I look PCAR's version there was an update this weekend.
  18. prodigy

    prodigy Burning revs

    Joined:
    Oct 27, 2013
    Messages:
    459
    Location:
    Croatia
    Balance:
    6,698Coins
    Ratings:
    +399 / 4 / -0
    My Motion Simulator:
    2DOF, 3DOF, AC motor, SCN5, JRK
    I can also confirm that Dash is not working in Race, but it does work in Practice mode. Weird o_O

    I don't think it's a game problem because leds and dash on Fanatec wheel are working with Fanaleds software, so the game is giving the data.

    Maybe plugin problem, the last plugin version was 1 year ago, maybe a short revise? @value1
    • Informative Informative x 1
  19. zigzag49

    zigzag49 Active Member

    Joined:
    May 27, 2014
    Messages:
    251
    Balance:
    712Coins
    Ratings:
    +220 / 3 / -0
    My Motion Simulator:
    2DOF, Arduino
    Thank you for your back waiting for a possible update of the plugin.
  20. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    439
    Location:
    FRANCE
    Balance:
    6,010Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    Same here with version 6.0 Lets hope for an updated plugin / pCars patch.