<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting Flash and Arduino talking, and problems with AS3</title>
	<atom:link href="http://www.iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/feed" rel="self" type="application/rss+xml" />
	<link>http://www.iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3</link>
	<description>"the concrete world is starting to get ya."</description>
	<lastBuildDate>Fri, 11 Mar 2011 11:58:55 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jrosser</title>
		<link>http://www.iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/comment-page-1#comment-23656</link>
		<dc:creator>jrosser</dc:creator>
		<pubDate>Sat, 07 Aug 2010 16:29:48 +0000</pubDate>
		<guid isPermaLink="false">http://iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/#comment-23656</guid>
		<description>I&#039;ve posted some Arduino / AS3 code regarding on issue &lt;a href=&quot;http://www.maptopixel.com/?p=129&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. 

As mentioned above, the solution is to assume that not all data will be found for each execution of the event handler. So we store what we do find in a buffer until an end of the line character is found. We can then reconstruct the variable with the pieces of data.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve posted some Arduino / AS3 code regarding on issue <a href="http://www.maptopixel.com/?p=129" onclick="javascript:pageTracker._trackPageview('/outbound/comment/http://www.maptopixel.com/?p=129');" rel="nofollow">here</a>. </p>
<p>As mentioned above, the solution is to assume that not all data will be found for each execution of the event handler. So we store what we do find in a buffer until an end of the line character is found. We can then reconstruct the variable with the pieces of data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arduino -&#62; Flash serial data transmission &#124; MapToPixel</title>
		<link>http://www.iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/comment-page-1#comment-23655</link>
		<dc:creator>Arduino -&#62; Flash serial data transmission &#124; MapToPixel</dc:creator>
		<pubDate>Sat, 07 Aug 2010 16:23:48 +0000</pubDate>
		<guid isPermaLink="false">http://iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/#comment-23655</guid>
		<description>[...] up and needs to be reconstructed in Flash to get the correct variables. This has been noted in this post by iestyn, who also mentions that AS2 behaves more predictably. As this is probably a fairly [...]</description>
		<content:encoded><![CDATA[<p>[...] up and needs to be reconstructed in Flash to get the correct variables. This has been noted in this post by iestyn, who also mentions that AS2 behaves more predictably. As this is probably a fairly [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Technical explorations (wall of text) &#171; David Daniel Research and Development</title>
		<link>http://www.iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/comment-page-1#comment-19385</link>
		<dc:creator>Technical explorations (wall of text) &#171; David Daniel Research and Development</dc:creator>
		<pubDate>Thu, 15 Apr 2010 17:25:45 +0000</pubDate>
		<guid isPermaLink="false">http://iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/#comment-19385</guid>
		<description>[...] (From Iestyn&#8217;s post here) [...]</description>
		<content:encoded><![CDATA[<p>[...] (From Iestyn&#8217;s post here) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jfmateos</title>
		<link>http://www.iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/comment-page-1#comment-12061</link>
		<dc:creator>jfmateos</dc:creator>
		<pubDate>Wed, 14 Oct 2009 10:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/#comment-12061</guid>
		<description>Hello Iestyn:

I just changed the Serial.println in your sketch to Serial.print, as Brett suggested, and it now seems to work properly.

Thanks and best regards from Madrid.</description>
		<content:encoded><![CDATA[<p>Hello Iestyn:</p>
<p>I just changed the Serial.println in your sketch to Serial.print, as Brett suggested, and it now seems to work properly.</p>
<p>Thanks and best regards from Madrid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iestyn</title>
		<link>http://www.iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/comment-page-1#comment-82</link>
		<dc:creator>Iestyn</dc:creator>
		<pubDate>Sun, 23 Mar 2008 16:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/#comment-82</guid>
		<description>Hey Brett :)

Thanks for that, that makes a lot of sense!

For now, i&#039;ll stick with AS3glue and Firmata, but if I need to go without, i&#039;ll bear in mind what you&#039;ve said.</description>
		<content:encoded><![CDATA[<p>Hey Brett <img src='http://www.iestyn.net/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks for that, that makes a lot of sense!</p>
<p>For now, i&#8217;ll stick with AS3glue and Firmata, but if I need to go without, i&#8217;ll bear in mind what you&#8217;ve said.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett Forsyth</title>
		<link>http://www.iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/comment-page-1#comment-81</link>
		<dc:creator>Brett Forsyth</dc:creator>
		<pubDate>Sun, 23 Mar 2008 15:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/#comment-81</guid>
		<description>Thanks for the link(s). What you are running into isnt a big deal to fix yourself. Relying on a message to show up in one packet can be dangerous. If you look at any of the example serial read scripts in arduino they typically loop over the buffer until an end character is found and then the message is processed. So you can do the same in flash. If you are sending data to flash with the Serial.println() function you can test for the new line character as the end of message at which point you can process it. Hope that helps.</description>
		<content:encoded><![CDATA[<p>Thanks for the link(s). What you are running into isnt a big deal to fix yourself. Relying on a message to show up in one packet can be dangerous. If you look at any of the example serial read scripts in arduino they typically loop over the buffer until an end character is found and then the message is processed. So you can do the same in flash. If you are sending data to flash with the Serial.println() function you can test for the new line character as the end of message at which point you can process it. Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: owen</title>
		<link>http://www.iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/comment-page-1#comment-80</link>
		<dc:creator>owen</dc:creator>
		<pubDate>Sun, 23 Mar 2008 13:27:34 +0000</pubDate>
		<guid isPermaLink="false">http://iestyn.net/wp/2008/03/23/getting-flash-and-arduino-talking-and-problems-with-as3/#comment-80</guid>
		<description>Hi Iestyn,

I also had troubles with connecting to the Arduino, but I think for different reasons - there are some issues with serproxy and older intel macbook pros which I solved using &lt;a href=&quot;http://protolab.pbwiki.com/Arduino2Flash&quot; rel=&quot;nofollow&quot;&gt;this serial socket server&lt;/a&gt; instead. It&#039;s worth noting is that the Firmata firmware should be the only thing you need to upload to the Arduino board (until they release an updated version) as using it you can just control the board using Flash. It runs at 57600 baud rate by default.

Owen</description>
		<content:encoded><![CDATA[<p>Hi Iestyn,</p>
<p>I also had troubles with connecting to the Arduino, but I think for different reasons &#8211; there are some issues with serproxy and older intel macbook pros which I solved using <a href="http://protolab.pbwiki.com/Arduino2Flash" onclick="javascript:pageTracker._trackPageview('/outbound/comment/http://protolab.pbwiki.com/Arduino2Flash');" rel="nofollow">this serial socket server</a> instead. It&#8217;s worth noting is that the Firmata firmware should be the only thing you need to upload to the Arduino board (until they release an updated version) as using it you can just control the board using Flash. It runs at 57600 baud rate by default.</p>
<p>Owen</p>
]]></content:encoded>
	</item>
</channel>
</rss>

