<?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: Flash</title>
	<atom:link href="http://arduiniana.org/libraries/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://arduiniana.org</link>
	<description>Arduino wisdom and gems by Mikal Hart</description>
	<lastBuildDate>Thu, 02 Feb 2012 11:22:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mikal</title>
		<link>http://arduiniana.org/libraries/flash/comment-page-2/#comment-25188</link>
		<dc:creator>Mikal</dc:creator>
		<pubDate>Sun, 29 Jan 2012 06:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://sundial.org/arduino/?page_id=221#comment-25188</guid>
		<description>Geez, this is a mystery! I don&#039;t know.  Anyone?</description>
		<content:encoded><![CDATA[<p>Geez, this is a mystery! I don&#8217;t know.  Anyone?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikal</title>
		<link>http://arduiniana.org/libraries/flash/comment-page-2/#comment-25187</link>
		<dc:creator>Mikal</dc:creator>
		<pubDate>Sun, 29 Jan 2012 06:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://sundial.org/arduino/?page_id=221#comment-25187</guid>
		<description>@dulises, Flash now works with Arduino 1.0.  Thank you.  M</description>
		<content:encoded><![CDATA[<p>@dulises, Flash now works with Arduino 1.0.  Thank you.  M</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikal</title>
		<link>http://arduiniana.org/libraries/flash/comment-page-2/#comment-25180</link>
		<dc:creator>Mikal</dc:creator>
		<pubDate>Sun, 29 Jan 2012 06:03:07 +0000</pubDate>
		<guid isPermaLink="false">http://sundial.org/arduino/?page_id=221#comment-25180</guid>
		<description>@Rick,

I think I&#039;d make a simple loop, something like:


void setup()
{
  Serial.begin(115200);
  for (int i=0; i&lt;tempvoltage.count(); ++i)
    if (tempvoltage[i] == 1.5)
      Serial.println(temperatures[i]);
}

void loop(){}</description>
		<content:encoded><![CDATA[<p>@Rick,</p>
<p>I think I&#8217;d make a simple loop, something like:</p>
<p>void setup()<br />
{<br />
  Serial.begin(115200);<br />
  for (int i=0; i&lt;tempvoltage.count(); ++i)<br />
    if (tempvoltage[i] == 1.5)<br />
      Serial.println(temperatures[i]);<br />
}</p>
<p>void loop(){}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikal</title>
		<link>http://arduiniana.org/libraries/flash/comment-page-2/#comment-25172</link>
		<dc:creator>Mikal</dc:creator>
		<pubDate>Sun, 29 Jan 2012 05:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://sundial.org/arduino/?page_id=221#comment-25172</guid>
		<description>@David,

I suspect that a 64K byte table is too big of a single structure, since its size cannot be encoded in 16 bits.  Can you reorganize it into 2 distinct arrays?</description>
		<content:encoded><![CDATA[<p>@David,</p>
<p>I suspect that a 64K byte table is too big of a single structure, since its size cannot be encoded in 16 bits.  Can you reorganize it into 2 distinct arrays?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: josx</title>
		<link>http://arduiniana.org/libraries/flash/comment-page-2/#comment-24920</link>
		<dc:creator>josx</dc:creator>
		<pubDate>Wed, 25 Jan 2012 16:45:26 +0000</pubDate>
		<guid isPermaLink="false">http://sundial.org/arduino/?page_id=221#comment-24920</guid>
		<description>Hey 
Just you to know for using it with Arduino 1.0 Libraries you need to replace
in line 22 of Flash.h Wprogram.h with Arduino.h</description>
		<content:encoded><![CDATA[<p>Hey<br />
Just you to know for using it with Arduino 1.0 Libraries you need to replace<br />
in line 22 of Flash.h Wprogram.h with Arduino.h</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sorky</title>
		<link>http://arduiniana.org/libraries/flash/comment-page-2/#comment-24508</link>
		<dc:creator>Sorky</dc:creator>
		<pubDate>Wed, 18 Jan 2012 00:48:31 +0000</pubDate>
		<guid isPermaLink="false">http://sundial.org/arduino/?page_id=221#comment-24508</guid>
		<description>Your &quot;unnamed (inline) Flash Strings&quot; rock! 

Thanks Dude!</description>
		<content:encoded><![CDATA[<p>Your &#8220;unnamed (inline) Flash Strings&#8221; rock! </p>
<p>Thanks Dude!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://arduiniana.org/libraries/flash/comment-page-2/#comment-24027</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 08 Jan 2012 22:52:46 +0000</pubDate>
		<guid isPermaLink="false">http://sundial.org/arduino/?page_id=221#comment-24027</guid>
		<description>Hi Mikal 

really great job and many thanks for it. It&#039;s the way it should be done using the compiler scopes. My sketch with a looooonnnngggg string showing a help text worked perfect.

Many thanks again !!!</description>
		<content:encoded><![CDATA[<p>Hi Mikal </p>
<p>really great job and many thanks for it. It&#8217;s the way it should be done using the compiler scopes. My sketch with a looooonnnngggg string showing a help text worked perfect.</p>
<p>Many thanks again !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://arduiniana.org/libraries/flash/comment-page-2/#comment-23921</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Fri, 06 Jan 2012 21:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://sundial.org/arduino/?page_id=221#comment-23921</guid>
		<description>FYI:  I posted a few other examples (with varying results) over at arduino.cc :
http://arduino.cc/forum/index.php/topic,86019.0.html</description>
		<content:encoded><![CDATA[<p>FYI:  I posted a few other examples (with varying results) over at arduino.cc :<br />
<a href="http://arduino.cc/forum/index.php/topic,86019.0.html" rel="nofollow">http://arduino.cc/forum/index.php/topic,86019.0.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://arduiniana.org/libraries/flash/comment-page-2/#comment-23871</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Thu, 05 Jan 2012 23:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://sundial.org/arduino/?page_id=221#comment-23871</guid>
		<description>Hi,

Can someone explain why the sketch below does not seem to assign the correct value (9) to the variable x2?   

I get the following output:
------------------------
5 , 9
5 , 5
------------------------

Of course I expect the 2nd line to be identical to the 1st, but it&#039;s not...   (using arduino 0022 with arduino nano 328)

thanks,
Erik


CODE:
------------------------------

#include 
FLASH_ARRAY(int, arrayData, 5, 9);

void setup() {
   Serial.begin(57600);
   int x1=arrayData[0];
   int x2=arrayData[1];
   Serial.println(&quot;------------------------&quot;);
   Serial.print(arrayData[0]);Serial.print(&quot; , &quot;);Serial.println(arrayData[1]);
   Serial.print(x1);Serial.print(&quot; , &quot;);Serial.println(x2);
   Serial.println(&quot;------------------------&quot;);
}

void loop() {
}</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Can someone explain why the sketch below does not seem to assign the correct value (9) to the variable x2?   </p>
<p>I get the following output:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
5 , 9<br />
5 , 5<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Of course I expect the 2nd line to be identical to the 1st, but it&#8217;s not&#8230;   (using arduino 0022 with arduino nano 328)</p>
<p>thanks,<br />
Erik</p>
<p>CODE:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>#include<br />
FLASH_ARRAY(int, arrayData, 5, 9);</p>
<p>void setup() {<br />
   Serial.begin(57600);<br />
   int x1=arrayData[0];<br />
   int x2=arrayData[1];<br />
   Serial.println(&#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8221;);<br />
   Serial.print(arrayData[0]);Serial.print(&#8221; , &#8220;);Serial.println(arrayData[1]);<br />
   Serial.print(x1);Serial.print(&#8221; , &#8220;);Serial.println(x2);<br />
   Serial.println(&#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8221;);<br />
}</p>
<p>void loop() {<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dulises</title>
		<link>http://arduiniana.org/libraries/flash/comment-page-2/#comment-23847</link>
		<dc:creator>dulises</dc:creator>
		<pubDate>Thu, 05 Jan 2012 11:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://sundial.org/arduino/?page_id=221#comment-23847</guid>
		<description>Hi Mikal, thank you for your work. I´m just starting with Arduino and i appreciate it.

Just one thing, I´ve downloaded your Flash library and in Flash.h I had to change the line with WProgram.h with this to work properly with the new environment Arduino 1.0


Maybe you want to change it so it works for everybody.

As I said before, thank you.</description>
		<content:encoded><![CDATA[<p>Hi Mikal, thank you for your work. I´m just starting with Arduino and i appreciate it.</p>
<p>Just one thing, I´ve downloaded your Flash library and in Flash.h I had to change the line with WProgram.h with this to work properly with the new environment Arduino 1.0</p>
<p>Maybe you want to change it so it works for everybody.</p>
<p>As I said before, thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

