<?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 for Reza's Rants</title>
	<atom:link href="http://reza.net/wordpress/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://reza.net/wordpress</link>
	<description>Nothing for you to look at, please move along..</description>
	<lastBuildDate>Wed, 06 Mar 2013 01:58:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>Comment on How to handle JSON data using the electric imp. by reza</title>
		<link>http://reza.net/wordpress/?p=318&#038;cpage=1#comment-524</link>
		<dc:creator>reza</dc:creator>
		<pubDate>Wed, 06 Mar 2013 01:58:19 +0000</pubDate>
		<guid isPermaLink="false">http://reza.net/wordpress/?p=318#comment-524</guid>
		<description>I was wondering if you were sorted yet or still needed assistance?</description>
		<content:encoded><![CDATA[<p>I was wondering if you were sorted yet or still needed assistance?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to handle JSON data using the electric imp. by Larry</title>
		<link>http://reza.net/wordpress/?p=318&#038;cpage=1#comment-509</link>
		<dc:creator>Larry</dc:creator>
		<pubDate>Sun, 20 Jan 2013 05:50:34 +0000</pubDate>
		<guid isPermaLink="false">http://reza.net/wordpress/?p=318#comment-509</guid>
		<description>I read with interest your recent posting re: accessing JSON data using the Electric Imp.  I have a similar situation where I&#039;m trying to import/extract a JSON string I create in a .php file into an Imp.  Unfortunately, being a relative newcomer to the Imp and the coding involved, I find myself struggling mightily to get my head around the concepts I need to extract the data, and would likely benefit from trying to work thru the details of your working code to increase my understanding of what&#039;s involved.  

You comment that what you provided is skeleton code .. would it be possible to see more details related to your actual operational code?  Thanks in advance for any help you might be able to provide.</description>
		<content:encoded><![CDATA[<p>I read with interest your recent posting re: accessing JSON data using the Electric Imp.  I have a similar situation where I&#8217;m trying to import/extract a JSON string I create in a .php file into an Imp.  Unfortunately, being a relative newcomer to the Imp and the coding involved, I find myself struggling mightily to get my head around the concepts I need to extract the data, and would likely benefit from trying to work thru the details of your working code to increase my understanding of what&#8217;s involved.  </p>
<p>You comment that what you provided is skeleton code .. would it be possible to see more details related to your actual operational code?  Thanks in advance for any help you might be able to provide.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CNC Success by reza</title>
		<link>http://reza.net/wordpress/?p=255&#038;cpage=1#comment-393</link>
		<dc:creator>reza</dc:creator>
		<pubDate>Fri, 02 Nov 2012 08:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://reza.net/wordpress/?p=255#comment-393</guid>
		<description>I just searched the source and found this..

  xaxis-&gt;direct_step_pin = _STEP_X;
  yaxis-&gt;direct_step_pin = _STEP_Y;
  zaxis-&gt;direct_step_pin = _STEP_Z;

For the arduino, you can specify a pin by a number.  but that actually maps to a port and pin number.  The default code implies that port B pin 3 is what it is physically connected to it.  The arduino library adds a lot of overhead to the code to make it simple to use.  by accessing the pin directly, it is much faster for a time critical application.</description>
		<content:encoded><![CDATA[<p>I just searched the source and found this..</p>
<p>  xaxis->direct_step_pin = _STEP_X;<br />
  yaxis->direct_step_pin = _STEP_Y;<br />
  zaxis->direct_step_pin = _STEP_Z;</p>
<p>For the arduino, you can specify a pin by a number.  but that actually maps to a port and pin number.  The default code implies that port B pin 3 is what it is physically connected to it.  The arduino library adds a lot of overhead to the code to make it simple to use.  by accessing the pin directly, it is much faster for a time critical application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CNC Success by Clive Longstaff</title>
		<link>http://reza.net/wordpress/?p=255&#038;cpage=1#comment-392</link>
		<dc:creator>Clive Longstaff</dc:creator>
		<pubDate>Fri, 02 Nov 2012 07:54:17 +0000</pubDate>
		<guid isPermaLink="false">http://reza.net/wordpress/?p=255#comment-392</guid>
		<description>Hi
In The rsteppercontoller file init.h thet are 3 binary bit shifts ie 
#define _STEP_X (1&lt;&lt;3). Why are these used or needed.
Thanks
Clive</description>
		<content:encoded><![CDATA[<p>Hi<br />
In The rsteppercontoller file init.h thet are 3 binary bit shifts ie<br />
#define _STEP_X (1&lt;&lt;3). Why are these used or needed.<br />
Thanks<br />
Clive</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Android Intents, registerReceiver, BroadcastReceiver, updating GUI elements from threads by crowcoder</title>
		<link>http://reza.net/wordpress/?p=283&#038;cpage=1#comment-390</link>
		<dc:creator>crowcoder</dc:creator>
		<pubDate>Tue, 31 Jul 2012 02:35:27 +0000</pubDate>
		<guid isPermaLink="false">http://reza.net/wordpress/?p=283#comment-390</guid>
		<description>THANK YOU! A real, full, java example! And they said there was no such thing. I&#039;ve been a C# programmer for years and I can&#039;t believe how I&#039;ve struggled to write this stoopid droid app.</description>
		<content:encoded><![CDATA[<p>THANK YOU! A real, full, java example! And they said there was no such thing. I&#8217;ve been a C# programmer for years and I can&#8217;t believe how I&#8217;ve struggled to write this stoopid droid app.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on printf in arudino works. by reza</title>
		<link>http://reza.net/wordpress/?p=269&#038;cpage=1#comment-389</link>
		<dc:creator>reza</dc:creator>
		<pubDate>Tue, 24 Jul 2012 19:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://reza.net/wordpress/?p=269#comment-389</guid>
		<description>&lt;a href=&quot;#comment-373&quot; rel=&quot;nofollow&quot;&gt;@ArdArg&lt;/a&gt; Thanks for the replay and sorry for the delay in my finding it.  

STDOUT by default goes to whatever function you configure with fdevopen().  If nothing is configured then it gets dropped.</description>
		<content:encoded><![CDATA[<p><a href="#comment-373" rel="nofollow">@ArdArg</a> Thanks for the replay and sorry for the delay in my finding it.  </p>
<p>STDOUT by default goes to whatever function you configure with fdevopen().  If nothing is configured then it gets dropped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bioimpedance Spectroscopy Boards Arrived by reza</title>
		<link>http://reza.net/wordpress/?p=276&#038;cpage=1#comment-388</link>
		<dc:creator>reza</dc:creator>
		<pubDate>Tue, 24 Jul 2012 19:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://reza.net/wordpress/?p=276#comment-388</guid>
		<description>&lt;a href=&quot;#comment-385&quot; rel=&quot;nofollow&quot;&gt;@hassan&lt;/a&gt; 
What help do you need?</description>
		<content:encoded><![CDATA[<p><a href="#comment-385" rel="nofollow">@hassan</a><br />
What help do you need?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bioimpedance Spectroscopy Boards Arrived by hassan</title>
		<link>http://reza.net/wordpress/?p=276&#038;cpage=1#comment-385</link>
		<dc:creator>hassan</dc:creator>
		<pubDate>Fri, 06 Jul 2012 18:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://reza.net/wordpress/?p=276#comment-385</guid>
		<description>Hi 
Dear Sir
I&#039;m working on Impedancecardiography. I will be thankful if you help me for  making a prototype of ICG system.
please help me.

Regards.</description>
		<content:encoded><![CDATA[<p>Hi<br />
Dear Sir<br />
I&#8217;m working on Impedancecardiography. I will be thankful if you help me for  making a prototype of ICG system.<br />
please help me.</p>
<p>Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on printf in arudino works. by ArdArg</title>
		<link>http://reza.net/wordpress/?p=269&#038;cpage=1#comment-373</link>
		<dc:creator>ArdArg</dc:creator>
		<pubDate>Sun, 04 Mar 2012 03:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://reza.net/wordpress/?p=269#comment-373</guid>
		<description>Reza, thanks for posting this fdevopen fix for printf.

I successfully got an Arduino sketch to build with floating point support linked into stdio.  But it didn&#039;t generate any serial I/O and I settled for sprintf-ing my formatted data to a buffer and then serial.print-ing the resulting string.
(Btw, where does STDOUT go by default in the Arduino/avr-Libc environment?)

The Arduino build process isn&#039;t as obscure as it first appears.  The IDE just doesn&#039;t provide a convenient way to modify it.

Under File-&gt;Preferences, turn on &quot;Verbose&quot; output for both &quot;compilation&quot; and &quot;upload&quot;.
Now when you build and upload your sketch, the text in the status window will contain the command lines used to build and upload the program.
You can copy and paste from the window, extract the relevant lines, and modify them to make your own custom build script.

The build process goes like this:
1. avr-gcc to build a SketchName.cpp.elf object file.
2. avr-objcopy builds a SketchName.cpp.eep file from the .elf file.
3. avr-objcopy builds a Sketchname.cpp.hex file from the .elf file.
4. avrdude uploads the .hex file to the Atmega chip.

After you get the sketch built conventionally, with the IDE, its Temp directory will be full of various object files.
I re-built my sketch, from the Windows command line, adding the following to the avr-gcc invocation:
-Wl,-u,vfprintf,-lprintf_flt,-lm
(Those commas are probably important.  See this AVR Libc manual section:
www.nongnu.org/avr-libc/user-manual/using_tools.html#using_pass_ld_opts )

That was inserted between the first and second existing arguments:
&quot;avr-gcc -Os -Wl,--gc-sections&quot; Wl OPTIONS HERE &quot;-mmcu=atmega328p&quot;.

And I changed the name of the .elf file from SketchName.cpp.elf to NewName.elf.

Then I changed the filenames in the avr-objcopy commands to match.
And I uploaded my NewName.hex file by similarly modifying the filename in the avrdude command.

So, it CAN be done.  I just wish the IDE made it easier.</description>
		<content:encoded><![CDATA[<p>Reza, thanks for posting this fdevopen fix for printf.</p>
<p>I successfully got an Arduino sketch to build with floating point support linked into stdio.  But it didn&#8217;t generate any serial I/O and I settled for sprintf-ing my formatted data to a buffer and then serial.print-ing the resulting string.<br />
(Btw, where does STDOUT go by default in the Arduino/avr-Libc environment?)</p>
<p>The Arduino build process isn&#8217;t as obscure as it first appears.  The IDE just doesn&#8217;t provide a convenient way to modify it.</p>
<p>Under File-&gt;Preferences, turn on &#8220;Verbose&#8221; output for both &#8220;compilation&#8221; and &#8220;upload&#8221;.<br />
Now when you build and upload your sketch, the text in the status window will contain the command lines used to build and upload the program.<br />
You can copy and paste from the window, extract the relevant lines, and modify them to make your own custom build script.</p>
<p>The build process goes like this:<br />
1. avr-gcc to build a SketchName.cpp.elf object file.<br />
2. avr-objcopy builds a SketchName.cpp.eep file from the .elf file.<br />
3. avr-objcopy builds a Sketchname.cpp.hex file from the .elf file.<br />
4. avrdude uploads the .hex file to the Atmega chip.</p>
<p>After you get the sketch built conventionally, with the IDE, its Temp directory will be full of various object files.<br />
I re-built my sketch, from the Windows command line, adding the following to the avr-gcc invocation:<br />
-Wl,-u,vfprintf,-lprintf_flt,-lm<br />
(Those commas are probably important.  See this AVR Libc manual section:<br />
<a href="http://www.nongnu.org/avr-libc/user-manual/using_tools.html#using_pass_ld_opts" rel="nofollow">http://www.nongnu.org/avr-libc/user-manual/using_tools.html#using_pass_ld_opts</a> )</p>
<p>That was inserted between the first and second existing arguments:<br />
&#8220;avr-gcc -Os -Wl,&#8211;gc-sections&#8221; Wl OPTIONS HERE &#8220;-mmcu=atmega328p&#8221;.</p>
<p>And I changed the name of the .elf file from SketchName.cpp.elf to NewName.elf.</p>
<p>Then I changed the filenames in the avr-objcopy commands to match.<br />
And I uploaded my NewName.hex file by similarly modifying the filename in the avrdude command.</p>
<p>So, it CAN be done.  I just wish the IDE made it easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Replace outlook with better free alternatives, and get it work with over-the-air iPhone synchronization. by reza</title>
		<link>http://reza.net/wordpress/?p=212&#038;cpage=1#comment-371</link>
		<dc:creator>reza</dc:creator>
		<pubDate>Mon, 27 Feb 2012 06:20:32 +0000</pubDate>
		<guid isPermaLink="false">http://reza.net/wordpress/?p=212#comment-371</guid>
		<description>This info is a bit outdated, but glad it was of help.</description>
		<content:encoded><![CDATA[<p>This info is a bit outdated, but glad it was of help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
