<?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: Jeenode infrared project part 3: sending test</title>
	<atom:link href="http://www.maartendamen.com/2010/06/jeenode-infrared-project-part-3-sending-test/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.maartendamen.com/2010/06/jeenode-infrared-project-part-3-sending-test/</link>
	<description>Blogging on various IT subjects</description>
	<lastBuildDate>Mon, 26 Dec 2011 09:18:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Ribeiro Santtos</title>
		<link>http://www.maartendamen.com/2010/06/jeenode-infrared-project-part-3-sending-test/comment-page-1/#comment-1293</link>
		<dc:creator>Ribeiro Santtos</dc:creator>
		<pubDate>Fri, 23 Jul 2010 19:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.maartendamen.com/?p=280#comment-1293</guid>
		<description>Simple :)

Just add in IRemote.cpp

void IRsend::sendSamsung(unsigned long data, int nbits)
{
  enableIROut(38);
  mark(SAMSUNG_HDR_MARK);
  space(SAMSUNG_HDR_SPACE);
  for (int i = 0; i &lt; nbits; i++) {
    if (data &amp; TOPBIT) {
      mark(SAMSUNG_BIT_MARK);
      space(SAMSUNG_ONE_SPACE);
    } 
    else {
      mark(SAMSUNG_BIT_MARK);
      space(SAMSUNG_ZERO_SPACE);
    }
    data &lt;&lt;= 1;
  }
  mark(SAMSUNG_BIT_MARK);
  space(0);
}


Add in IRemote.h


class IRsend
{
public:
  IRsend() {}
  void sendNEC(unsigned long data, int nbits);
  //add this line
  void sendSamsung(unsigned long data, int nbits);


After that, just use, in your sketch;
    irsend.sendSamsung(&lt;code&gt;, 32);

next channel:
   irsend.sendSamsung(0xE0E048B7, 32);</description>
		<content:encoded><![CDATA[<p>Simple :)</p>
<p>Just add in IRemote.cpp</p>
<p>void IRsend::sendSamsung(unsigned long data, int nbits)<br />
{<br />
  enableIROut(38);<br />
  mark(SAMSUNG_HDR_MARK);<br />
  space(SAMSUNG_HDR_SPACE);<br />
  for (int i = 0; i &lt; nbits; i++) {<br />
    if (data &amp; TOPBIT) {<br />
      mark(SAMSUNG_BIT_MARK);<br />
      space(SAMSUNG_ONE_SPACE);<br />
    }<br />
    else {<br />
      mark(SAMSUNG_BIT_MARK);<br />
      space(SAMSUNG_ZERO_SPACE);<br />
    }<br />
    data &lt;&lt;= 1;<br />
  }<br />
  mark(SAMSUNG_BIT_MARK);<br />
  space(0);<br />
}</p>
<p>Add in IRemote.h</p>
<p>class IRsend<br />
{<br />
public:<br />
  IRsend() {}<br />
  void sendNEC(unsigned long data, int nbits);<br />
  //add this line<br />
  void sendSamsung(unsigned long data, int nbits);</p>
<p>After that, just use, in your sketch;<br />
    irsend.sendSamsung(<code>, 32);</p>
<p>next channel:<br />
   irsend.sendSamsung(0xE0E048B7, 32);</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ribeiro Santtos</title>
		<link>http://www.maartendamen.com/2010/06/jeenode-infrared-project-part-3-sending-test/comment-page-1/#comment-1211</link>
		<dc:creator>Ribeiro Santtos</dc:creator>
		<pubDate>Sat, 17 Jul 2010 23:03:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.maartendamen.com/?p=280#comment-1211</guid>
		<description>Hi,

I&#039;m trying to send IRcodes to my Samsung, and have some problems.

In your code you have 
\irsend.sendSamsung(received, 32);\ 

Where can I find that function? 

Thanks a lot,
Ribeiro Santos</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m trying to send IRcodes to my Samsung, and have some problems.</p>
<p>In your code you have<br />
\irsend.sendSamsung(received, 32);\ </p>
<p>Where can I find that function? </p>
<p>Thanks a lot,<br />
Ribeiro Santos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LG 47LH50 first look</title>
		<link>http://www.maartendamen.com/2010/06/jeenode-infrared-project-part-3-sending-test/comment-page-1/#comment-820</link>
		<dc:creator>LG 47LH50 first look</dc:creator>
		<pubDate>Fri, 25 Jun 2010 21:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.maartendamen.com/?p=280#comment-820</guid>
		<description>[...] Jeenode infrared project part 3: sending test &#124; Maartendamen&#039;s blog [...]</description>
		<content:encoded><![CDATA[<p>[...] Jeenode infrared project part 3: sending test | Maartendamen&#39;s blog [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: python twisted &#171; Эхо блогосферы</title>
		<link>http://www.maartendamen.com/2010/06/jeenode-infrared-project-part-3-sending-test/comment-page-1/#comment-694</link>
		<dc:creator>python twisted &#171; Эхо блогосферы</dc:creator>
		<pubDate>Sat, 19 Jun 2010 22:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.maartendamen.com/?p=280#comment-694</guid>
		<description>[...] Maarten пишет: The python scripts looks like this: from twisted.internet.serialport import SerialPort import sys from twisted.protocols import basic if sys.platform == &#8216;win32&#8242;: from twisted.internet import win32eventreactor win32eventreactor.install() &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Maarten пишет: The python scripts looks like this: from twisted.internet.serialport import SerialPort import sys from twisted.protocols import basic if sys.platform == &#8216;win32&#8242;: from twisted.internet import win32eventreactor win32eventreactor.install() &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Electric Projection Screens - R-electric projection screen overview of main features</title>
		<link>http://www.maartendamen.com/2010/06/jeenode-infrared-project-part-3-sending-test/comment-page-1/#comment-333</link>
		<dc:creator>Electric Projection Screens - R-electric projection screen overview of main features</dc:creator>
		<pubDate>Sun, 06 Jun 2010 22:45:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.maartendamen.com/?p=280#comment-333</guid>
		<description>[...] Jeenode infrared project part 3: sending test &#124; Maartendamen&#039;s blog [...]</description>
		<content:encoded><![CDATA[<p>[...] Jeenode infrared project part 3: sending test | Maartendamen&#39;s blog [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

