<?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 Andy&#039;s Life</title>
	<atom:link href="http://blog.thiseldo.co.uk/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.thiseldo.co.uk</link>
	<description>My small corner of the web...</description>
	<lastBuildDate>Wed, 20 Mar 2013 01:40:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on Recipe of the week &#8211; Microwave treacle sponge by Rubby</title>
		<link>http://blog.thiseldo.co.uk/?p=163&#038;cpage=1#comment-400</link>
		<dc:creator>Rubby</dc:creator>
		<pubDate>Wed, 20 Mar 2013 01:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thiseldo.co.uk/?p=163#comment-400</guid>
		<description><![CDATA[&lt;strong&gt;Rubby...&lt;/strong&gt;

It’s a shame you don’t have a donate button! I’d without a doubt donate to this fantastic blog! I suppose for now i’ll settle for bookmarking and adding your RSS feed to my Google account. I look forward to new updates and will share this blog with my ...]]></description>
		<content:encoded><![CDATA[<p><strong>Rubby&#8230;</strong></p>
<p>It’s a shame you don’t have a donate button! I’d without a doubt donate to this fantastic blog! I suppose for now i’ll settle for bookmarking and adding your RSS feed to my Google account. I look forward to new updates and will share this blog with my &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Migrating from EtherShield to EtherCard library by AUTOMALABS &#38;raquo Módulo Ethernet Baseado em ENC28J60</title>
		<link>http://blog.thiseldo.co.uk/?p=623&#038;cpage=1#comment-399</link>
		<dc:creator>AUTOMALABS &#38;raquo Módulo Ethernet Baseado em ENC28J60</dc:creator>
		<pubDate>Mon, 18 Mar 2013 22:27:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thiseldo.co.uk/?p=623#comment-399</guid>
		<description><![CDATA[[...] próprio autor da biblioteca ethershield anunciou que não atualizará mais a biblioteca e recomenda o uso da biblioteca Ethercard. Essa biblioteca é compatível com o módulo sem problemas, mas o pino CS [...]]]></description>
		<content:encoded><![CDATA[<p>[...] próprio autor da biblioteca ethershield anunciou que não atualizará mais a biblioteca e recomenda o uso da biblioteca Ethercard. Essa biblioteca é compatível com o módulo sem problemas, mas o pino CS [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Migrating from EtherShield to EtherCard library by superid888</title>
		<link>http://blog.thiseldo.co.uk/?p=623&#038;cpage=1#comment-397</link>
		<dc:creator>superid888</dc:creator>
		<pubDate>Fri, 01 Mar 2013 13:25:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thiseldo.co.uk/?p=623#comment-397</guid>
		<description><![CDATA[Hi Andy?
I&#039;am from China ?I‘am sorry for my poor english.
I have a problem about UDP send with ethercard.

My problem is about:
I use Arduino uno3+ ENC28J60 + DHT11 + two 7segment LED to display temperature and humidity and send data to host PC by UDP , all the hardware and sub-module test normal, the ENC28J60 CS connect to D10, the measured power supply voltage for ENC28J60 is 3.3V, The IDE with the 1.03 version, EtherCard with the latest version. all functions in normal when I running wireshake to capture data on host PC,I got correctly display of temperature and humidity and the received UDP data is OK, but when I stop capture data with wireshake,the host computer can not receive any data.

I&#039;ve try several different program on host PC and got the same result.
When I do the capturing with winshake, the program I use to receive UDP data can got correct result, when I stop capturing with winshake, the program I use to receive UDP data can&#039;t received any data.

I do a test by replace ENC28J60 with W5100 ,I got a correct result without runing winshask.
Compare with the w5100 code I think the code for UDP in ethercard maybe short of something for bind sport to dport,but I don&#039;t know how to modify the ethercard library. I also I don&#039;t know how to use ether.udpTransmit() for Transmit udp data,would tell me what possible with the problem or give me a example?

Thanks,
Chen JW

the code as below?

//CS?D10?SI?D11?SO?D12?SCK?D13

#include 
static byte mymac[] = { 0x74,0x69,0x69,0x2D,0x30,0x31 };
static byte myip[] = {192,168,2,23};
static byte gwip[] = {192,168,23,254};
byte Ethernet::buffer[100];
static byte destip[]= {192,168,2,10};
static int myport=1000,destport=1001;

// bits representing segments A through G (and decimal point) for numerals 0-9
const int numeral[10] = {
//ABCDEFG /dp
B11111100, // 0
B01100000, // 1
B11011010, // 2
B11110010, // 3
B01100110, // 4
B10110110, // 5
B10111110, // 6
B11100000, // 7
B11111110, // 8
B11110110, // 9
};
// pins for decimal point and each segment
// dp,G,F,E,D,C,B,A
const int segmentPins[] = { 9,8,7,6,5,4,3,2};
const int nbrDigits= 2; // the number of digits in the LED display
//dig 1 2
const int digitPins[nbrDigits] = { A4,A5};
int dppin=A3; //set the decimal point link to PIN A3

#include 
dht11 DHT11;
#define DHT11PIN A0 //DHT11 PIN 3 ?UNO A0

char string1[2];//humidity
char string2[2];//temperature

void setup()
{
  Serial.begin(19200);

  if (ether.begin(sizeof Ethernet::buffer, mymac, 10) == 0)
    Serial.println( &quot;Failed to access Ethernet controller&quot;);
  if (!ether.staticSetup(myip))
    Serial.println(&quot;Failed to set IP address&quot;);

//    ether.setGwIp(gwip);

for(int i=0; i &lt; 8; i++)
pinMode(segmentPins, OUTPUT); // set segment and DP pins to output
for(int i=0; i = 0; digit--)
{
if(number &gt; 0)
{
showDigit( number % 10, digit) ;
number = number / 10;
}
}
}
}
// Displays given number on a 7-segment display at the given digit position
void showDigit( int segnumber, int digit)
{
digitalWrite( digitPins[digit], HIGH );
for(int segment = 1; segment &lt;8; segment++)
{
boolean isBitSet = bitRead(numeral[segnumber], segment);
// isBitSet will be true if given bit is 1

//isBitSet = ! isBitSet; // remove this line if common cathode display

digitalWrite( segmentPins[segment], isBitSet);
}
delay(5);
digitalWrite( digitPins[digit], LOW );
}]]></description>
		<content:encoded><![CDATA[<p>Hi Andy?<br />
I&#8217;am from China ?I‘am sorry for my poor english.<br />
I have a problem about UDP send with ethercard.</p>
<p>My problem is about:<br />
I use Arduino uno3+ ENC28J60 + DHT11 + two 7segment LED to display temperature and humidity and send data to host PC by UDP , all the hardware and sub-module test normal, the ENC28J60 CS connect to D10, the measured power supply voltage for ENC28J60 is 3.3V, The IDE with the 1.03 version, EtherCard with the latest version. all functions in normal when I running wireshake to capture data on host PC,I got correctly display of temperature and humidity and the received UDP data is OK, but when I stop capture data with wireshake,the host computer can not receive any data.</p>
<p>I&#8217;ve try several different program on host PC and got the same result.<br />
When I do the capturing with winshake, the program I use to receive UDP data can got correct result, when I stop capturing with winshake, the program I use to receive UDP data can&#8217;t received any data.</p>
<p>I do a test by replace ENC28J60 with W5100 ,I got a correct result without runing winshask.<br />
Compare with the w5100 code I think the code for UDP in ethercard maybe short of something for bind sport to dport,but I don&#8217;t know how to modify the ethercard library. I also I don&#8217;t know how to use ether.udpTransmit() for Transmit udp data,would tell me what possible with the problem or give me a example?</p>
<p>Thanks,<br />
Chen JW</p>
<p>the code as below?</p>
<p>//CS?D10?SI?D11?SO?D12?SCK?D13</p>
<p>#include<br />
static byte mymac[] = { 0&#215;74,0&#215;69,0&#215;69,0x2D,0&#215;30,0&#215;31 };<br />
static byte myip[] = {192,168,2,23};<br />
static byte gwip[] = {192,168,23,254};<br />
byte Ethernet::buffer[100];<br />
static byte destip[]= {192,168,2,10};<br />
static int myport=1000,destport=1001;</p>
<p>// bits representing segments A through G (and decimal point) for numerals 0-9<br />
const int numeral[10] = {<br />
//ABCDEFG /dp<br />
B11111100, // 0<br />
B01100000, // 1<br />
B11011010, // 2<br />
B11110010, // 3<br />
B01100110, // 4<br />
B10110110, // 5<br />
B10111110, // 6<br />
B11100000, // 7<br />
B11111110, // 8<br />
B11110110, // 9<br />
};<br />
// pins for decimal point and each segment<br />
// dp,G,F,E,D,C,B,A<br />
const int segmentPins[] = { 9,8,7,6,5,4,3,2};<br />
const int nbrDigits= 2; // the number of digits in the LED display<br />
//dig 1 2<br />
const int digitPins[nbrDigits] = { A4,A5};<br />
int dppin=A3; //set the decimal point link to PIN A3</p>
<p>#include<br />
dht11 DHT11;<br />
#define DHT11PIN A0 //DHT11 PIN 3 ?UNO A0</p>
<p>char string1[2];//humidity<br />
char string2[2];//temperature</p>
<p>void setup()<br />
{<br />
  Serial.begin(19200);</p>
<p>  if (ether.begin(sizeof Ethernet::buffer, mymac, 10) == 0)<br />
    Serial.println( &#8220;Failed to access Ethernet controller&#8221;);<br />
  if (!ether.staticSetup(myip))<br />
    Serial.println(&#8220;Failed to set IP address&#8221;);</p>
<p>//    ether.setGwIp(gwip);</p>
<p>for(int i=0; i &lt; 8; i++)<br />
pinMode(segmentPins, OUTPUT); // set segment and DP pins to output<br />
for(int i=0; i = 0; digit&#8211;)<br />
{<br />
if(number &gt; 0)<br />
{<br />
showDigit( number % 10, digit) ;<br />
number = number / 10;<br />
}<br />
}<br />
}<br />
}<br />
// Displays given number on a 7-segment display at the given digit position<br />
void showDigit( int segnumber, int digit)<br />
{<br />
digitalWrite( digitPins[digit], HIGH );<br />
for(int segment = 1; segment &lt;8; segment++)<br />
{<br />
boolean isBitSet = bitRead(numeral[segnumber], segment);<br />
// isBitSet will be true if given bit is 1</p>
<p>//isBitSet = ! isBitSet; // remove this line if common cathode display</p>
<p>digitalWrite( segmentPins[segment], isBitSet);<br />
}<br />
delay(5);<br />
digitalWrite( digitPins[digit], LOW );<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Migrating from EtherShield to EtherCard library by francoml</title>
		<link>http://blog.thiseldo.co.uk/?p=623&#038;cpage=1#comment-396</link>
		<dc:creator>francoml</dc:creator>
		<pubDate>Wed, 27 Feb 2013 14:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thiseldo.co.uk/?p=623#comment-396</guid>
		<description><![CDATA[for ARDUINO UNO R3 : chance CS pin 8 to 10 everywhere com the .h files. ALSO initializing the ethercard, include like the ping example, the &quot;,10) &quot; on the end of the initialization.

Thankyou so much for this libray and Ethercard creation, is AMAZING and very stable! THANKS]]></description>
		<content:encoded><![CDATA[<p>for ARDUINO UNO R3 : chance CS pin 8 to 10 everywhere com the .h files. ALSO initializing the ethercard, include like the ping example, the &#8220;,10) &#8221; on the end of the initialization.</p>
<p>Thankyou so much for this libray and Ethercard creation, is AMAZING and very stable! THANKS</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Coolcomponents 1Kg box of fun! by Administrator</title>
		<link>http://blog.thiseldo.co.uk/?p=705&#038;cpage=1#comment-395</link>
		<dc:creator>Administrator</dc:creator>
		<pubDate>Tue, 26 Feb 2013 07:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thiseldo.co.uk/?p=705#comment-395</guid>
		<description><![CDATA[I&#039;m sure it still works. Used it recently. Can check.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m sure it still works. Used it recently. Can check.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Coolcomponents 1Kg box of fun! by HardwareDoc</title>
		<link>http://blog.thiseldo.co.uk/?p=705&#038;cpage=1#comment-388</link>
		<dc:creator>HardwareDoc</dc:creator>
		<pubDate>Tue, 05 Feb 2013 23:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thiseldo.co.uk/?p=705#comment-388</guid>
		<description><![CDATA[Hey quite a nice box you got there ^^ I know its slightly off topic but do you have plans on updateing your Nokia3310LCD Lib? I tried to use it a bit ago and now again but it didn&#039;t work cause the version issues ^^

I hope you can update it
HardwareDoc]]></description>
		<content:encoded><![CDATA[<p>Hey quite a nice box you got there ^^ I know its slightly off topic but do you have plans on updateing your Nokia3310LCD Lib? I tried to use it a bit ago and now again but it didn&#8217;t work cause the version issues ^^</p>
<p>I hope you can update it<br />
HardwareDoc</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arduino and remote control of Home Easy devices by eumanecs</title>
		<link>http://blog.thiseldo.co.uk/?p=404&#038;cpage=1#comment-384</link>
		<dc:creator>eumanecs</dc:creator>
		<pubDate>Thu, 27 Dec 2012 21:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thiseldo.co.uk/?p=404#comment-384</guid>
		<description><![CDATA[Hello, i am using http://playground.arduino.cc/Code/HomeEasy able to operate Remote Control Bulb Holders, Remote Control Socket, but unable to control Remote Control Light Switch - HE108W with arduino. I am able to read from arduino sender code and device ID from remote control HE100. But when i sent these commands through arduino HE108 remote control switch (HE108) don&#039;t recognizes these codes. Does anyone know is there something different with HE108W ?
sender 55840328
no group
on
recipient 4]]></description>
		<content:encoded><![CDATA[<p>Hello, i am using <a href="http://playground.arduino.cc/Code/HomeEasy" rel="nofollow">http://playground.arduino.cc/Code/HomeEasy</a> able to operate Remote Control Bulb Holders, Remote Control Socket, but unable to control Remote Control Light Switch &#8211; HE108W with arduino. I am able to read from arduino sender code and device ID from remote control HE100. But when i sent these commands through arduino HE108 remote control switch (HE108) don&#8217;t recognizes these codes. Does anyone know is there something different with HE108W ?<br />
sender 55840328<br />
no group<br />
on<br />
recipient 4</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating a Pachube controled RGB LED by ed</title>
		<link>http://blog.thiseldo.co.uk/?p=574&#038;cpage=1#comment-383</link>
		<dc:creator>ed</dc:creator>
		<pubDate>Fri, 02 Nov 2012 20:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thiseldo.co.uk/?p=574#comment-383</guid>
		<description><![CDATA[oddly in Arduuino 1.0 I had to put the fadeToColour function much higher up in the code and the fadeTo function immediately hereafter. I thought the IDE would create an instance of the function on parsing but apparently not. Still the code has worked for others it seems]]></description>
		<content:encoded><![CDATA[<p>oddly in Arduuino 1.0 I had to put the fadeToColour function much higher up in the code and the fadeTo function immediately hereafter. I thought the IDE would create an instance of the function on parsing but apparently not. Still the code has worked for others it seems</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating a Pachube controled RGB LED by ed</title>
		<link>http://blog.thiseldo.co.uk/?p=574&#038;cpage=1#comment-382</link>
		<dc:creator>ed</dc:creator>
		<pubDate>Fri, 02 Nov 2012 20:12:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thiseldo.co.uk/?p=574#comment-382</guid>
		<description><![CDATA[hmm... got an error message that the &#039;fadTo and fadeTocolour&#039; &#039;were not declared in this scope&#039; 

Bummer. What to do?]]></description>
		<content:encoded><![CDATA[<p>hmm&#8230; got an error message that the &#8216;fadTo and fadeTocolour&#8217; &#8216;were not declared in this scope&#8217; </p>
<p>Bummer. What to do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nokia 3310 LCD Library with basic graphics functions by AlexMac</title>
		<link>http://blog.thiseldo.co.uk/?p=383&#038;cpage=1#comment-377</link>
		<dc:creator>AlexMac</dc:creator>
		<pubDate>Thu, 16 Aug 2012 22:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thiseldo.co.uk/?p=383#comment-377</guid>
		<description><![CDATA[Hi Andy,
Liked the Library working great until I upgraded to Arduino 1.0.1
grabed the latest from Github
now very confused
just some of the errors
nokia_3310_demo:70: error: &#039;Nokia_3310_lcd&#039; does not name a type
nokia_3310_demo.cpp: In function &#039;void setup()&#039;:
nokia_3310_demo:98: error: &#039;lcd&#039; was not declared in this scope
nokia_3310_demo.cpp: In function &#039;void loop()&#039;:]]></description>
		<content:encoded><![CDATA[<p>Hi Andy,<br />
Liked the Library working great until I upgraded to Arduino 1.0.1<br />
grabed the latest from Github<br />
now very confused<br />
just some of the errors<br />
nokia_3310_demo:70: error: &#8216;Nokia_3310_lcd&#8217; does not name a type<br />
nokia_3310_demo.cpp: In function &#8216;void setup()&#8217;:<br />
nokia_3310_demo:98: error: &#8216;lcd&#8217; was not declared in this scope<br />
nokia_3310_demo.cpp: In function &#8216;void loop()&#8217;:</p>
]]></content:encoded>
	</item>
</channel>
</rss>
