<?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 Julio Terra</title>
	<atom:link href="http://julioterra.com/journal/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://julioterra.com/journal</link>
	<description>Technology &#124; Culture &#124; Design &#124; Experience</description>
	<lastBuildDate>Fri, 24 May 2013 03:07:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
	<item>
		<title>Comment on Proximity Detection [mpr121 capacitive touch sensor] by julioterra</title>
		<link>http://julioterra.com/journal/2012/12/proximity-detection-using-mpr121-capacitive-touch-sensor/comment-page-1/#comment-6739</link>
		<dc:creator>julioterra</dc:creator>
		<pubDate>Fri, 24 May 2013 03:07:47 +0000</pubDate>
		<guid isPermaLink="false">http://julioterra.com/journal/?p=1766#comment-6739</guid>
		<description><![CDATA[Ravi,

Sorry I&#039;ve been slow to get back to you. I am on vacation and not checking email very often. Thanks for catching those errors. I have updated the code to reflect that you should use pin 2 as shown on the diagram. Please note that pin 2 holds the Arduino interrupt 1. 

The way the code works is that we listen to pin 2, and when this pin is set to LOW the interrupt function is triggered, which sets the newData flag to true. When this flag is set to true the Arduino reads the data from the appropriate registers on the mpr121 chip.

Let me know if this works for you.

All the best, Julio]]></description>
		<content:encoded><![CDATA[<p>Ravi,</p>
<p>Sorry I&#8217;ve been slow to get back to you. I am on vacation and not checking email very often. Thanks for catching those errors. I have updated the code to reflect that you should use pin 2 as shown on the diagram. Please note that pin 2 holds the Arduino interrupt 1. </p>
<p>The way the code works is that we listen to pin 2, and when this pin is set to LOW the interrupt function is triggered, which sets the newData flag to true. When this flag is set to true the Arduino reads the data from the appropriate registers on the mpr121 chip.</p>
<p>Let me know if this works for you.</p>
<p>All the best, Julio</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Proximity Detection [mpr121 capacitive touch sensor] by Ravi</title>
		<link>http://julioterra.com/journal/2012/12/proximity-detection-using-mpr121-capacitive-touch-sensor/comment-page-1/#comment-6691</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Sat, 18 May 2013 12:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://julioterra.com/journal/?p=1766#comment-6691</guid>
		<description><![CDATA[I was a little puzzled by the lines in your code (for the touch sensor MPR121):

     int irqpin = 3;               // pin that connects to notifies when data is available from capacitive sensor

    void setup(){

      // set IRQ pin to input, turn on the pullup resistor, and attach interrupt to pin
      pinMode(irqpin, INPUT);
      digitalWrite(irqpin, HIGH); 
      attachInterrupt(1, dataAvailable, FALLING);

  The original Bildr tutorial uses digital pin 2 (not 3). And in fact the PNG file you supply with your code also shows digital pin 2 being connceted to the IRQ pin on the breakout board...
  Which is the right pin to connect the IRQ pin on the breakout board? Digital 2 or 3?
  The Arduino docs also say that interrupt 1 is on pin 3... so should the IRQ pin be connected to pin 3 and not pin 2 as in the diagram?

  Regards,
    Ravi
      :-)]]></description>
		<content:encoded><![CDATA[<p>I was a little puzzled by the lines in your code (for the touch sensor MPR121):</p>
<p>     int irqpin = 3;               // pin that connects to notifies when data is available from capacitive sensor</p>
<p>    void setup(){</p>
<p>      // set IRQ pin to input, turn on the pullup resistor, and attach interrupt to pin<br />
      pinMode(irqpin, INPUT);<br />
      digitalWrite(irqpin, HIGH);<br />
      attachInterrupt(1, dataAvailable, FALLING);</p>
<p>  The original Bildr tutorial uses digital pin 2 (not 3). And in fact the PNG file you supply with your code also shows digital pin 2 being connceted to the IRQ pin on the breakout board&#8230;<br />
  Which is the right pin to connect the IRQ pin on the breakout board? Digital 2 or 3?<br />
  The Arduino docs also say that interrupt 1 is on pin 3&#8230; so should the IRQ pin be connected to pin 3 and not pin 2 as in the diagram?</p>
<p>  Regards,<br />
    Ravi<br />
      <img src='http://julioterra.com/journal/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Basic Digital Music Concepts by julioterra</title>
		<link>http://julioterra.com/journal/2010/02/dataflow-basic-digital-music-concepts/comment-page-1/#comment-6569</link>
		<dc:creator>julioterra</dc:creator>
		<pubDate>Wed, 01 May 2013 02:25:52 +0000</pubDate>
		<guid isPermaLink="false">http://julioterra.com/journal/?p=338#comment-6569</guid>
		<description><![CDATA[Patricia, I got these images from wikipedia. Unfortunately, I cannot find the link to the source images on wikipedia. With that in mind, I am not able to give you the rights to use these images. Sorry. Good luck with the book.]]></description>
		<content:encoded><![CDATA[<p>Patricia, I got these images from wikipedia. Unfortunately, I cannot find the link to the source images on wikipedia. With that in mind, I am not able to give you the rights to use these images. Sorry. Good luck with the book.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Basic Digital Music Concepts by Patricia Moffat</title>
		<link>http://julioterra.com/journal/2010/02/dataflow-basic-digital-music-concepts/comment-page-1/#comment-6562</link>
		<dc:creator>Patricia Moffat</dc:creator>
		<pubDate>Tue, 30 Apr 2013 17:26:32 +0000</pubDate>
		<guid isPermaLink="false">http://julioterra.com/journal/?p=338#comment-6562</guid>
		<description><![CDATA[Dear Julio Terra,
My husband is writing a popular physics book on particle physics, and I am helping with editing and graphics. We really like your blue diagrams of the &quot;in-phase&quot; and &quot;out of phase&quot; waves. Did you make the drawings or get them from somewhere else? If you have the copyright, we would like to use these two figures in the book, to be published this fall by Oxford University Press. We would of course credit you.
Looking forward to hearing from you,
Patricia Moffat]]></description>
		<content:encoded><![CDATA[<p>Dear Julio Terra,<br />
My husband is writing a popular physics book on particle physics, and I am helping with editing and graphics. We really like your blue diagrams of the &#8220;in-phase&#8221; and &#8220;out of phase&#8221; waves. Did you make the drawings or get them from somewhere else? If you have the copyright, we would like to use these two figures in the book, to be published this fall by Oxford University Press. We would of course credit you.<br />
Looking forward to hearing from you,<br />
Patricia Moffat</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Emote [Thesis Presentation] by Experiencing Self vs. Remembering Self &#171; Julio Terra</title>
		<link>http://julioterra.com/journal/2011/05/emote-thesis-presentation/comment-page-1/#comment-6329</link>
		<dc:creator>Experiencing Self vs. Remembering Self &#171; Julio Terra</dc:creator>
		<pubDate>Mon, 08 Apr 2013 01:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://julioterra.com/journal/?p=1268#comment-6329</guid>
		<description><![CDATA[[...] years ago, while finishing up my studies at ITP I was working on a thesis project called Emote [link to video &#124; link to paper]. The intended goal of this project was to develop a prototype for a system or [...]]]></description>
		<content:encoded><![CDATA[<p>[...] years ago, while finishing up my studies at ITP I was working on a thesis project called Emote [link to video | link to paper]. The intended goal of this project was to develop a prototype for a system or [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arduino RestServer Library [restful architecture] by julioterra</title>
		<link>http://julioterra.com/journal/2011/11/arduino-restserver-library-restful-architecture/comment-page-1/#comment-6209</link>
		<dc:creator>julioterra</dc:creator>
		<pubDate>Sun, 24 Mar 2013 20:31:08 +0000</pubDate>
		<guid isPermaLink="false">http://julioterra.com/journal/?p=1678#comment-6209</guid>
		<description><![CDATA[Mats, 

I took a look at your code and the main issue was that the library was set to only accept names up to 14 characters long. I have updated the library so that it can accept names that are up to 19 characters (which will accommodate your 16 character names. I am not sure why your second method worked at all. I would have expected it to fail as well. 

I tested out registering the resources from your comment and I was able to get it working on my computer. You should download the newest version of the library and give it another try. If it doesn&#039;t work, then send me your full sketch and I will give it another try later this week.

I&#039;ve updated the wiki to reflect the maximum name length so that this is clear in the future. Here is a link to the wiki page that has been updated. https://github.com/julioterra/Arduino_Rest_Server/wiki/Set-Up-RestServer-in-Your-Sketch

Good luck. Julio]]></description>
		<content:encoded><![CDATA[<p>Mats, </p>
<p>I took a look at your code and the main issue was that the library was set to only accept names up to 14 characters long. I have updated the library so that it can accept names that are up to 19 characters (which will accommodate your 16 character names. I am not sure why your second method worked at all. I would have expected it to fail as well. </p>
<p>I tested out registering the resources from your comment and I was able to get it working on my computer. You should download the newest version of the library and give it another try. If it doesn&#8217;t work, then send me your full sketch and I will give it another try later this week.</p>
<p>I&#8217;ve updated the wiki to reflect the maximum name length so that this is clear in the future. Here is a link to the wiki page that has been updated. <a href="https://github.com/julioterra/Arduino_Rest_Server/wiki/Set-Up-RestServer-in-Your-Sketch" rel="nofollow">https://github.com/julioterra/Arduino_Rest_Server/wiki/Set-Up-RestServer-in-Your-Sketch</a></p>
<p>Good luck. Julio</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arduino RestServer Library [restful architecture] by Mats Ekberg</title>
		<link>http://julioterra.com/journal/2011/11/arduino-restserver-library-restful-architecture/comment-page-1/#comment-6202</link>
		<dc:creator>Mats Ekberg</dc:creator>
		<pubDate>Sat, 23 Mar 2013 15:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://julioterra.com/journal/?p=1678#comment-6202</guid>
		<description><![CDATA[I have problems registering resources.
This works:

void register_rest_server() {
      resource_description_t resource_description [6] = {{&quot;285A04B703000013&quot;, false, {-5000, 5000}}, 
							  {&quot;28BA06C60300009E&quot;, 	false, 	{-5000, 5000}},
							  {&quot;28FA4DDD030000DE&quot;, 	false, 	{-5000, 5000}}, 
							  {&quot;284E46DD03000075&quot;, 	false, 	{-5000, 5000}},
							  {&quot;289B20B70300005C&quot;, 	false, 	{-5000, 5000}}, 
							  {&quot;28DB32B7030000D6&quot;, 	false, 	{-5000, 5000}}};
      request_server.register_resources(resource_description, 6);  
}

This does not work (deviceCount is 6):

void register_rest_server2() {
  resource_description_t resource_description [deviceCount];

  resource_range_t range;
  range.min = -5000;
  range.max = 5000;  
  
  for (int i = 0; i &lt; deviceCount; i++) {
    resource_description_t rd;
    String sname = getAddressAsString(i);
    sname.toCharArray(rd.name, sizeof(rd.name) );
    rd.post_enabled = false;
    rd.range = range;
    resource_description[i] = rd;
  }
  request_server.register_resources(resource_description, deviceCount);  
}

Why??
The second way of registering works with upt to 2 resources, with more resources the memory is garbled.]]></description>
		<content:encoded><![CDATA[<p>I have problems registering resources.<br />
This works:</p>
<p>void register_rest_server() {<br />
      resource_description_t resource_description [6] = {{&#8220;285A04B703000013&#8243;, false, {-5000, 5000}},<br />
							  {&#8220;28BA06C60300009E&#8221;, 	false, 	{-5000, 5000}},<br />
							  {&#8220;28FA4DDD030000DE&#8221;, 	false, 	{-5000, 5000}},<br />
							  {&#8220;284E46DD03000075&#8243;, 	false, 	{-5000, 5000}},<br />
							  {&#8220;289B20B70300005C&#8221;, 	false, 	{-5000, 5000}},<br />
							  {&#8220;28DB32B7030000D6&#8243;, 	false, 	{-5000, 5000}}};<br />
      request_server.register_resources(resource_description, 6);<br />
}</p>
<p>This does not work (deviceCount is 6):</p>
<p>void register_rest_server2() {<br />
  resource_description_t resource_description [deviceCount];</p>
<p>  resource_range_t range;<br />
  range.min = -5000;<br />
  range.max = 5000;  </p>
<p>  for (int i = 0; i &lt; deviceCount; i++) {<br />
    resource_description_t rd;<br />
    String sname = getAddressAsString(i);<br />
    sname.toCharArray(rd.name, sizeof(rd.name) );<br />
    rd.post_enabled = false;<br />
    rd.range = range;<br />
    resource_description[i] = rd;<br />
  }<br />
  request_server.register_resources(resource_description, deviceCount);<br />
}</p>
<p>Why??<br />
The second way of registering works with upt to 2 resources, with more resources the memory is garbled.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Raspberry Pi and LED Strips [new python library] by A Python Library for Raspberry Pi and Adafruit Digital RGB LED Strips #piday #raspberrypi @Raspberry_Pi &#171; adafruit industries blog</title>
		<link>http://julioterra.com/journal/2013/02/raspberry-pi-and-led-strips-new-python-library/comment-page-1/#comment-5948</link>
		<dc:creator>A Python Library for Raspberry Pi and Adafruit Digital RGB LED Strips #piday #raspberrypi @Raspberry_Pi &#171; adafruit industries blog</dc:creator>
		<pubDate>Fri, 01 Mar 2013 08:01:06 +0000</pubDate>
		<guid isPermaLink="false">http://julioterra.com/journal/?p=1870#comment-5948</guid>
		<description><![CDATA[[...] Here&#8217;s a great new python library for the Adafruit Digital RGB LED Strips, shared by Julio Terra: [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Here&#8217;s a great new python library for the Adafruit Digital RGB LED Strips, shared by Julio Terra: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Drawing Machine [physical set-up complete] by Set up guides a-go-go &#124; Polargraph</title>
		<link>http://julioterra.com/journal/2013/02/drawing-machine-physical-set-up-complete/comment-page-1/#comment-5840</link>
		<dc:creator>Set up guides a-go-go &#124; Polargraph</dc:creator>
		<pubDate>Mon, 11 Feb 2013 23:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://julioterra.com/journal/?p=1842#comment-5840</guid>
		<description><![CDATA[[...] Julio Terra&#8217;s blog [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Julio Terra&#8217;s blog [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Drawing Machine [physical set-up complete] by julioterra</title>
		<link>http://julioterra.com/journal/2013/02/drawing-machine-physical-set-up-complete/comment-page-1/#comment-5837</link>
		<dc:creator>julioterra</dc:creator>
		<pubDate>Sun, 10 Feb 2013 19:08:41 +0000</pubDate>
		<guid isPermaLink="false">http://julioterra.com/journal/?p=1842#comment-5837</guid>
		<description><![CDATA[Sandy, thanks for the clarification. I&#039;ll update the blog post. That is good to know because we definitely want to play around with customizing the firmware.]]></description>
		<content:encoded><![CDATA[<p>Sandy, thanks for the clarification. I&#8217;ll update the blog post. That is good to know because we definitely want to play around with customizing the firmware.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
