<?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>
									Issue with custom message (using example) - Simhub General				            </title>
            <link>https://www.simhubdash.com/community-2/simhub-support/issue-with-custom-message-using-example/</link>
            <description>All about SimHub!</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 05 Sep 2026 21:29:46 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Issue with custom message (using example)</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/issue-with-custom-message-using-example/#post-3033</link>
                        <pubDate>Fri, 02 Jul 2021 15:35:23 +0000</pubDate>
                        <description><![CDATA[Ok so progress, but the issue still persist, I decided to add the code I needed to run the tach, which is just the servo library. It compiled fine, so I then added a map from the rpm to the ...]]></description>
                        <content:encoded><![CDATA[<p>Ok so progress, but the issue still persist, I decided to add the code I needed to run the tach, which is just the servo library. It compiled fine, so I then added a map from the rpm to the angles for the servo. And its working, but the serial output still isnt displaying which would be nice for debugging. </p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>bacon8tor</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/issue-with-custom-message-using-example/#post-3033</guid>
                    </item>
				                    <item>
                        <title>RE: Issue with custom message (using example)</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/issue-with-custom-message-using-example/#post-3032</link>
                        <pubDate>Fri, 02 Jul 2021 15:14:57 +0000</pubDate>
                        <description><![CDATA[I updated it, but still getting same results. I added a screen shot, of where i can see it but not seeing the serial output message back to simhub.  THe replay is looping this whole time.]]></description>
                        <content:encoded><![CDATA[<p>I updated it, but still getting same results. I added a screen shot, of where i can see it but not seeing the serial output message back to simhub.  THe replay is looping this whole time. </p>
<p> </p>
<p><a href="https://i.imgur.com/EUui4Qk.png" target="true"><img src="https://i.imgur.com/EUui4Qk.png" /><img src="https://i.imgur.com/gxcKylM.png" /></a></p>
<p><a href="https://i.imgur.com/EUui4Qk.png" target="true"><img src="https://i.imgur.com/dkbtsaA.png" /></a></p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>bacon8tor</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/issue-with-custom-message-using-example/#post-3032</guid>
                    </item>
				                    <item>
                        <title>RE: Issue with custom message (using example)</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/issue-with-custom-message-using-example/#post-3031</link>
                        <pubDate>Fri, 02 Jul 2021 14:45:40 +0000</pubDate>
                        <description><![CDATA[Hi ! The message is automatically terminated by  &quot;\n&quot; :you have to read the whole message (otherwise it will cause sync issues and disconnect) so if you only have a single variable to use yo...]]></description>
                        <content:encoded><![CDATA[<p>Hi ! The message is automatically terminated by  "\n" : https://github.com/SHWotever/SimHub/wiki/Custom-Arduino-hardware-support#message-format<br /><br />But you have to read the whole message (otherwise it will cause sync issues and disconnect) so if you only have a single variable to use you can bypass the separator and only rely on \n: <br /><br /></p>
<pre contenteditable="false">format(,'0') </pre>
<pre contenteditable="false"> int rpm = FlowSerialReadStringUntil('\n').toInt();
    FlowSerialDebugPrintLn("RPM : " + String(rpm));</pre>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>Wotever</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/issue-with-custom-message-using-example/#post-3031</guid>
                    </item>
				                    <item>
                        <title>Issue with custom message (using example)</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/issue-with-custom-message-using-example/#post-3030</link>
                        <pubDate>Fri, 02 Jul 2021 14:40:50 +0000</pubDate>
                        <description><![CDATA[I made a simple tach using a servo, I am trying to only send the PRM from simhub to arduino. Following the wiki, I have added this to the custom protocol box
format([DataCorePlugin.GameData...]]></description>
                        <content:encoded><![CDATA[<p>I made a simple tach using a servo, I am trying to only send the PRM from simhub to arduino. Following the wiki, I have added this to the custom protocol box</p>
<pre contenteditable="false">format(,'0') + ';'</pre>
<p> </p>
<p>and then opened the arduino setup tool -&gt; file -&gt; open in arduino, and change over the the SHCustomProtocol.h and have added these two lines </p>
<pre contenteditable="false"> int rpm = FlowSerialReadStringUntil(';').toInt();
    FlowSerialDebugPrintLn("RPM : " + String(rpm));</pre>
<p>I have both uploaded from the arduino ide itself and made sure the file was saved and used the simhub flasher.</p>
<p>yet I see no output in simhub under the arduino(I assume it should show it the lighter grey box underneath the two checkboxes), when I am replaying the replay to test. But if I open the custom protocol I can see the value is pulling from the replay and formatted as such 1000; for example. </p>
<p>Any help would be appreciated, I am pretty fimiliar with arduinos as well, if it matters I am using an Arduino nano. </p>
<p> </p>
<p>** I forgot to mention that i also tried jus the default example in there to just display the message, and also see nothing. As well as updated simhub to 7.04.2</p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>bacon8tor</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/issue-with-custom-message-using-example/#post-3030</guid>
                    </item>
							        </channel>
        </rss>
		