<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Enable Arduino LEDs when the gap to the car behind is less than XX seconds in iRacing - Simhub General				            </title>
            <link>https://www.simhubdash.com/community-2/simhub-support/enable-arduino-leds-when-the-gap-to-the-car-behind-is-less-than-xx-seconds-in-iracing/</link>
            <description>All about SimHub!</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 14 Oct 2026 20:14:22 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Enable Arduino LEDs when the gap to the car behind is less than XX seconds in iRacing</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/enable-arduino-leds-when-the-gap-to-the-car-behind-is-less-than-xx-seconds-in-iracing/#post-1945</link>
                        <pubDate>Wed, 06 Jan 2021 11:08:14 +0000</pubDate>
                        <description><![CDATA[Hi, I&#039;ve successfully configured SimHub to connect to an Arduino that has a bunch of WS2812b leds. I already added effects for left/right car, yellow flag ... it works great!
Now I would li...]]></description>
                        <content:encoded><![CDATA[<p><span>Hi, I've successfully configured SimHub to connect to an Arduino that has a bunch of WS2812b leds. I already added effects for left/right car, yellow flag ... it works great!</span></p>
<p>Now I would like to have the following scenario: when in iRacing the gap to the car behind is closer than for example 3 seconds, I would like to enable/flash some lights. I thought I could do this with "when formula is true" effect, and the NCalc formula: </p>
<pre><span></span> <span>&lt;</span> <span>3000<br /></span></pre>
<p>Unfortunately it seems that the <span>DriverBehind_00_Gap property only gets updated when a lap is completed. Is there a way to get realtime info on the gap to the car behind? (like a dashboard is continuously displaying the gap to the cars behind/in front) </span></p>
<p>Thanks again,</p>
<p>Jan</p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>jtlns</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/enable-arduino-leds-when-the-gap-to-the-car-behind-is-less-than-xx-seconds-in-iracing/#post-1945</guid>
                    </item>
							        </channel>
        </rss>
		