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

Lesson Arduino uno + Iracing . Yellow flag ?

Discussion in 'DIY peripherals' started by tommy06, Feb 22, 2014.

  1. tommy06

    tommy06 Active Member

    Joined:
    Jan 17, 2011
    Messages:
    130
    Balance:
    1,368Coins
    Ratings:
    +135 / 0 / -0
    Hallo
    Und zwar möchte ich mir gerne eine Yellow flag für Iracing bauen. Leds leuchten auch :) aber wie kann ich denn das jetzt in Iracing einfügen.
    Kann mir bitte jemand helfen ? leds blinken aber nicht in Iracing.

    Code ?
    Bzw. was steht denn jetzt für yellow flag in Iracing ? und wie schreibt man denn Code so das die leds nur leuchten wenn eine yellow flag raus kommt ?

    // global flags
    irsdk_checkered = 0x00000001,
    irsdk_white = 0x00000002,
    irsdk_green = 0x00000004,
    irsdk_yellow = 0x00000008,
    irsdk_red = 0x00000010,
    irsdk_blue = 0x00000020,
    irsdk_debris = 0x00000040,
    irsdk_crossed = 0x00000080,
    irsdk_yellowWaving = 0x00000100,
    irsdk_oneLapToGreen = 0x00000200,
    irsdk_greenHeld = 0x00000400,
    irsdk_tenToGo = 0x00000800,
    irsdk_fiveToGo = 0x00001000,
    irsdk_randomWaving = 0x00002000,
    irsdk_caution = 0x00004000,
    irsdk_cautionWaving = 0x00008000,

    sorry aber ich bin da etwas überfordert würde mich freuen wenn mir jemand helfen könnte auch in Englisch nehme ich die Hilfe Dankend an.

    Vielen Dank

    Tom

    • Like Like x 1
  2. tommy06

    tommy06 Active Member

    Joined:
    Jan 17, 2011
    Messages:
    130
    Balance:
    1,368Coins
    Ratings:
    +135 / 0 / -0
    wie verbinde ich denn das Arduino uno mit der Sim Tools softwar?? ? seit 5 stunden Spiele ich mich jetzt was muss ich denn machen das ich eine Verbindung zum Arduino uno board bekomme.
    bekomme es nicht hin ?

    und was muss ich am Code ändern, es will einfach nicht ???!?!?:mad::mad::(
  3. RaceRay

    RaceRay Administrator Staff Member SimAxe Beta Tester

    Joined:
    Nov 8, 2006
    Messages:
    4,657
    Occupation:
    Self-employed | Web and application development
    Location:
    Hamburg, Germany
    Balance:
    23,875Coins
    Ratings:
    +2,033 / 13 / -0
    My Motion Simulator:
    2DOF, DC motor, SimAxe, SimforceGT
    @eaorobbie Do you have a hint for Tommy how to connect his Arduino (with SimTools) to show the Yellow Flag light in iracing?
  4. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,458Coins
    Ratings:
    +1,686 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    @RaceRay if the dashdata was sorted for Iracing this would not be an issue, I did send him an app that will work alone (without simtools running) hopefully to extract yellow flag data, not sure if it worked as I cant test at the moment, need to pay my Iracing subscription to test, He never emailed me back if data was present in little app. But this is something that Im slowly learning to do.
    Maybe @value1 is willing to look into it, the irsdk will output flag data so we can capture it with the plugin and simply use the Gamedash , from there it is easy to show him what to do, I was just trying to give him something quickly.

    Attached Files:

    • Like Like x 2
  5. tommy06

    tommy06 Active Member

    Joined:
    Jan 17, 2011
    Messages:
    130
    Balance:
    1,368Coins
    Ratings:
    +135 / 0 / -0
    Thanks eaorobbie but that is too much for me I just can not!
    Since 3 days I try it now I can not connect to the board.
    Main Output? <Dash1> Thru? Dashx_1>? what should I enter there??
    dash output rules?
    nothing?
    · Game Running (blue) states this did It has connected successfully with a game plugin and is sending data to the game engine Which in turn will be sending data to the interfaces if you have set them Correctly

    no connection to the board!

    and how the code starts in
    Arduino uno?

    # include <?>


    # yellowflag int or what?

    my Arduino uno I send back to the seller

    Thanks for your help.

    I give up!
  6. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,363
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    50,145Coins
    Ratings:
    +5,144 / 18 / -0
    @tommy06 :rolleyes:
    Its DIY man, you have to have tougher skin that that buddy! :cheers

    Robbie said above that the app he sent you was stand alone, so there was no SimTools needed.
    Looks like your trying to configure SimTools above is all.

    If it was easy, it would not be any fun to do! :thumbs
    yobuddy
    • Agree Agree x 1