<?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: Update Twitter Status w/ Arduino &amp; Processing</title>
	<atom:link href="http://blog.unthinkmedia.com/2010/02/26/update-twitter-status-w-arduino-processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.unthinkmedia.com/2010/02/26/update-twitter-status-w-arduino-processing/</link>
	<description>creativity + technology</description>
	<lastBuildDate>Mon, 12 Dec 2011 23:13:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Update Twitter Status with Arduino &#171; Tummy Tune</title>
		<link>http://blog.unthinkmedia.com/2010/02/26/update-twitter-status-w-arduino-processing/comment-page-1/#comment-2335</link>
		<dc:creator>Update Twitter Status with Arduino &#171; Tummy Tune</dc:creator>
		<pubDate>Sat, 19 Nov 2011 12:07:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unthinkmedia.com/?p=520#comment-2335</guid>
		<description>[...] the code: source Share this:TwitterFacebookLike this:LikeBe the first to like this [...]</description>
		<content:encoded><![CDATA[<p>[...] the code: source Share this:TwitterFacebookLike this:LikeBe the first to like this [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Britez</title>
		<link>http://blog.unthinkmedia.com/2010/02/26/update-twitter-status-w-arduino-processing/comment-page-1/#comment-1942</link>
		<dc:creator>Alex Britez</dc:creator>
		<pubDate>Mon, 13 Jun 2011 13:04:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unthinkmedia.com/?p=520#comment-1942</guid>
		<description>Thanks for taking the time and creating an instructable!</description>
		<content:encoded><![CDATA[<p>Thanks for taking the time and creating an instructable!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdxNat</title>
		<link>http://blog.unthinkmedia.com/2010/02/26/update-twitter-status-w-arduino-processing/comment-page-1/#comment-1936</link>
		<dc:creator>pdxNat</dc:creator>
		<pubDate>Sun, 12 Jun 2011 20:10:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unthinkmedia.com/?p=520#comment-1936</guid>
		<description>Hi all, the example above is helpful and I thought I&#039;d add my own instructable here in case it helps anyone searching for arduino processing twitter w/ twitter4j 
http://www.instructables.com/id/Simple-Tweet-Arduino-Processing-Twitter/
Spread the love</description>
		<content:encoded><![CDATA[<p>Hi all, the example above is helpful and I thought I&#8217;d add my own instructable here in case it helps anyone searching for arduino processing twitter w/ twitter4j<br />
<a href="http://www.instructables.com/id/Simple-Tweet-Arduino-Processing-Twitter/" rel="nofollow">http://www.instructables.com/id/Simple-Tweet-Arduino-Processing-Twitter/</a><br />
Spread the love</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ace`</title>
		<link>http://blog.unthinkmedia.com/2010/02/26/update-twitter-status-w-arduino-processing/comment-page-1/#comment-181</link>
		<dc:creator>Ace`</dc:creator>
		<pubDate>Sun, 16 May 2010 01:02:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unthinkmedia.com/?p=520#comment-181</guid>
		<description>Thanks for the help and the code. I have tried it out but I still get some errors, here is how I have it setup: 
 
1. I inserted the new processing code (from the comment above) right before the end curly bracket of the void serialEvent (line 43 in the processing code of the tutorial). 
 
2. Just to check for errors I decided to run processing without updating the Arduino code. It gave me the error: &quot;Syntax Error, maybe missing right parenthesis?&quot; and highlighted this line of code: 
 
if (millis() - previousMillis &gt; interval) {  
 
If I got rid of that line of code (and the corresponding end curly bracket) then I would get the same error message except this line of code would be highlighted: 
 
for( int i=0; i&lt;statuses.size(); i ) 
 
I am not that great when it comes to coding, but it seems like the proper parenthesis (open and closing) exist for both lines of code. Any idea about what is going wrong? 
 
Also, on the Arduino side if I want to make an additional LED light up, what exactly am I looking for to come through the serial port? Is the capital letter &quot;A&quot; being sent through the serial port from Processing? or is the work &quot;Arduino&quot; being sent?  
 
If it is a word/letter being sent through serial then I probably just have to set up an &quot;if statement&quot; relating to that text string to trigger an LED to turn on, correct?  
 
Also, just for clarification: This new processing code checks the date to see if there are any new status updates (tweets) from anybody that I am following, if there is a new status update then it sends out &quot;A&quot; through the serial port back to my Arduino? Or does this code check to see if anybody I am following tweeted the word &quot;Arduino&quot;? 
 
I know this is asking for a lot of help and clarification so if you don&#039;t have the time that is quite understandable. Thanks. </description>
		<content:encoded><![CDATA[<p>Thanks for the help and the code. I have tried it out but I still get some errors, here is how I have it setup: </p>
<p>1. I inserted the new processing code (from the comment above) right before the end curly bracket of the void serialEvent (line 43 in the processing code of the tutorial). </p>
<p>2. Just to check for errors I decided to run processing without updating the Arduino code. It gave me the error: &quot;Syntax Error, maybe missing right parenthesis?&quot; and highlighted this line of code: </p>
<p>if (millis() &#8211; previousMillis &amp;gt; interval) {  </p>
<p>If I got rid of that line of code (and the corresponding end curly bracket) then I would get the same error message except this line of code would be highlighted: </p>
<p>for( int i=0; i&amp;lt;statuses.size(); i ) </p>
<p>I am not that great when it comes to coding, but it seems like the proper parenthesis (open and closing) exist for both lines of code. Any idea about what is going wrong? </p>
<p>Also, on the Arduino side if I want to make an additional LED light up, what exactly am I looking for to come through the serial port? Is the capital letter &quot;A&quot; being sent through the serial port from Processing? or is the work &quot;Arduino&quot; being sent?  </p>
<p>If it is a word/letter being sent through serial then I probably just have to set up an &quot;if statement&quot; relating to that text string to trigger an LED to turn on, correct?  </p>
<p>Also, just for clarification: This new processing code checks the date to see if there are any new status updates (tweets) from anybody that I am following, if there is a new status update then it sends out &quot;A&quot; through the serial port back to my Arduino? Or does this code check to see if anybody I am following tweeted the word &quot;Arduino&quot;? </p>
<p>I know this is asking for a lot of help and clarification so if you don&#039;t have the time that is quite understandable. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Britez</title>
		<link>http://blog.unthinkmedia.com/2010/02/26/update-twitter-status-w-arduino-processing/comment-page-1/#comment-180</link>
		<dc:creator>Alex Britez</dc:creator>
		<pubDate>Fri, 14 May 2010 18:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unthinkmedia.com/?p=520#comment-180</guid>
		<description>Hey try adding this Processing code,  on the arduino side just look for the &#039;A&#039; when someone in your friends list types the word &#039;Arduino&#039;, in your serialEvent and have it do something. Pretty sure that would work. Let me know if that help.    
   
========================================================   
   
//Date today =  new Date();  
Date latestTweetDate = new Date();  
  
long previousMillis = 0;        // will store last time we checked Twitter for updates   
long interval = 10000;           // interval at which to blink (milliseconds)   
   
void draw() {    
  background(100);    
  text(&quot;color selected: &quot;   inString, 10,50);   
  //borrowed from Blink w/o Delay Arduino sketch   
  //Search for updates once every minute   
  if (millis() - previousMillis &gt; interval) {   
    println(&quot;Call Made&quot;);   
    // save the last time you blinked the LED    
    previousMillis = millis();   
    try {       
      // The factory instance is re-useable and thread safe.   
      List statuses = twitter.getFriendsTimeline();   
      for( int i=0; i&lt;statuses.size(); i   )   
      {   
   
        Status status = (Status)statuses.get(i);   
        // Check to see if there is a match    
        String[] m1 = match(status.getText(), &quot;Arduino&quot;);   
        if (m1 != null) {   
          // Check to see if tweet is new   
          Date tweetDate = status.getCreatedAt();   
          boolean isAfter = tweetDate.after(latestTweetDate);   
          if(isAfter){   
            println(&quot;Found a NEW match in &#039;&quot;    &quot; &quot;   status.getText()   &quot;&#039;&quot;);   
            myPort.write(&#039;A&#039;);    
            latestTweetDate = status.getCreatedAt();   
          }   
   
        }    
      }   
    }     
    catch (TwitterException te) {       
      println(&quot;Couldn&#039;t connect: &quot;   te);     
    }     
  }   
} </description>
		<content:encoded><![CDATA[<p>Hey try adding this Processing code,  on the arduino side just look for the &#39;A&#39; when someone in your friends list types the word &#39;Arduino&#39;, in your serialEvent and have it do something. Pretty sure that would work. Let me know if that help.    </p>
<p>========================================================   </p>
<p>//Date today =  new Date();<br />
Date latestTweetDate = new Date();  </p>
<p>long previousMillis = 0;        // will store last time we checked Twitter for updates<br />
long interval = 10000;           // interval at which to blink (milliseconds)   </p>
<p>void draw() {<br />
  background(100);<br />
  text(&quot;color selected: &quot;   inString, 10,50);<br />
  //borrowed from Blink w/o Delay Arduino sketch<br />
  //Search for updates once every minute<br />
  if (millis() &#8211; previousMillis &amp;gt; interval) {<br />
    println(&quot;Call Made&quot;);<br />
    // save the last time you blinked the LED<br />
    previousMillis = millis();<br />
    try {<br />
      // The factory instance is re-useable and thread safe.<br />
      List statuses = twitter.getFriendsTimeline();<br />
      for( int i=0; i&amp;lt;statuses.size(); i   )<br />
      {   </p>
<p>        Status status = (Status)statuses.get(i);<br />
        // Check to see if there is a match<br />
        String[] m1 = match(status.getText(), &quot;Arduino&quot;);<br />
        if (m1 != null) {<br />
          // Check to see if tweet is new<br />
          Date tweetDate = status.getCreatedAt();<br />
          boolean isAfter = tweetDate.after(latestTweetDate);<br />
          if(isAfter){<br />
            println(&quot;Found a NEW match in &#39;&quot;    &quot; &quot;   status.getText()   &quot;&#39;&quot;);<br />
            myPort.write(&#39;A&#39;);<br />
            latestTweetDate = status.getCreatedAt();<br />
          }   </p>
<p>        }<br />
      }<br />
    }<br />
    catch (TwitterException te) {<br />
      println(&quot;Couldn&#39;t connect: &quot;   te);<br />
    }<br />
  }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ace`</title>
		<link>http://blog.unthinkmedia.com/2010/02/26/update-twitter-status-w-arduino-processing/comment-page-1/#comment-179</link>
		<dc:creator>Ace`</dc:creator>
		<pubDate>Mon, 10 May 2010 15:50:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unthinkmedia.com/?p=520#comment-179</guid>
		<description>Hi, I noticed in the embedded video you also added the feature of having a 4th LED light up when you send/receive a new tweet (@ 1:30). I don&#039;t think those steps/code were in the tutorial, so I was wondering if you would be willing to explain how you did that, or at least point me in the right direction to figuring that out. 
 
*I was confused when you explained the additional LED in the video. Does it light up only when you send Tweets (via the actual keyboard), or does it also light up when a tweet is posted from someone you are following? 
 
Thanks. </description>
		<content:encoded><![CDATA[<p>Hi, I noticed in the embedded video you also added the feature of having a 4th LED light up when you send/receive a new tweet (@ 1:30). I don&#039;t think those steps/code were in the tutorial, so I was wondering if you would be willing to explain how you did that, or at least point me in the right direction to figuring that out. </p>
<p>*I was confused when you explained the additional LED in the video. Does it light up only when you send Tweets (via the actual keyboard), or does it also light up when a tweet is posted from someone you are following? </p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention unthink media » Update Twitter Status w/ Arduino &#38; Processing -- Topsy.com</title>
		<link>http://blog.unthinkmedia.com/2010/02/26/update-twitter-status-w-arduino-processing/comment-page-1/#comment-172</link>
		<dc:creator>Tweets that mention unthink media » Update Twitter Status w/ Arduino &#38; Processing -- Topsy.com</dc:creator>
		<pubDate>Wed, 07 Apr 2010 12:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unthinkmedia.com/?p=520#comment-172</guid>
		<description>[...] This post was mentioned on Twitter by Renzo. Renzo said: digging on: Update Twitter Status w/ Arduino &amp; Processing: video Demo and Code snippets to enable Arduino to updat... http://bit.ly/awRUqN [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Renzo. Renzo said: digging on: Update Twitter Status w/ Arduino &amp; Processing: video Demo and Code snippets to enable Arduino to updat&#8230; <a href="http://bit.ly/awRUqN" rel="nofollow">http://bit.ly/awRUqN</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abritez (Alex Britez)</title>
		<link>http://blog.unthinkmedia.com/2010/02/26/update-twitter-status-w-arduino-processing/comment-page-1/#comment-155</link>
		<dc:creator>abritez (Alex Britez)</dc:creator>
		<pubDate>Tue, 02 Mar 2010 12:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unthinkmedia.com/?p=520#comment-155</guid>
		<description>Update Twitter Status w/ Arduino &amp; Processing  http://blog.unthinkmedia.com/?p=520</description>
		<content:encoded><![CDATA[<p>Update Twitter Status w/ Arduino &#038; Processing  <a href="http://blog.unthinkmedia.com/?p=520" rel="nofollow">http://blog.unthinkmedia.com/?p=520</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

