<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=47&amp;t=11818&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2015-06-03T17:25:43+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=47&amp;t=11818&amp;mode</id>
<entry>
<author><name><![CDATA[misiek1811]]></name></author>
<updated>2015-06-03T17:25:43+01:00</updated>
<published>2015-06-03T17:25:43+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=11818&amp;p=130843#p130843</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=11818&amp;p=130843#p130843"/>
<title type="html"><![CDATA[Re: Arduino i ENC28j60 problem]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=11818&amp;p=130843#p130843"><![CDATA[
Nie no nie mogłeś kupić kabli połączeniowych żeńsko żeńskich ?<br />Strasznie to wygląda :/<br /><br />na tej plontaninie nic nie widac<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2154">misiek1811</a> — 3 cze 2015, o 17:25</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kepes12]]></name></author>
<updated>2015-05-26T18:49:31+01:00</updated>
<published>2015-05-26T18:49:31+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=11818&amp;p=130150#p130150</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=11818&amp;p=130150#p130150"/>
<title type="html"><![CDATA[Arduino i ENC28j60 problem]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=11818&amp;p=130150#p130150"><![CDATA[
Witam mam problem z modułem ethernet podłączonym do arduino leonardo.<br />Pin ss w bibliotece zamieniłem na 8 pod który podłączyłem cs.<br /><a href="http://forum.atnel.pl/_obrazki/o/7347/74418471699e94e23c951ec8213a7516.JPG"  class="postlink"><img src="http://forum.atnel.pl/_obrazki/o/thumb/7347/74418471699e94e23c951ec8213a7516.JPG" alt="Obrazek" /></a><br />Po wgraniu przykładów z biblioteki ethernet card przez 1 minutę na serial monitorze nic się nie wyświetla potem to <br /><a href="http://forum.atnel.pl/_obrazki/o/7347/11c66d1bb1e72b7c79bbddfa18a06fdb.JPG"  class="postlink"><img src="http://forum.atnel.pl/_obrazki/o/thumb/7347/11c66d1bb1e72b7c79bbddfa18a06fdb.JPG" alt="Obrazek" /></a><br /><br />wykorzystałem przykład ping i get DHCPandDNS<br /><br />[syntax=cpp]// This demo does web requests via DHCP and DNS lookup.<br />// 2011-07-05 &lt;jc@wippler.nl&gt; http://opensource.org/licenses/mit-license.php<br /><br />#include &lt;EtherCard.h&gt;<br /><br />#define REQUEST_RATE 5000 // milliseconds<br /><br />// ethernet interface mac address<br />static byte mymac&#91;&#93; = { 0x74,0x69,0x69,0x2D,0x30,0x31 };<br />// remote website name<br />char website&#91;&#93; PROGMEM = &quot;google.com&quot;;<br /><br />byte Ethernet::buffer&#91;700&#93;;<br />static long timer;<br /><br />// called when the client request is complete<br />static void my_result_cb (byte status, word off, word len) {<br />  Serial.print(&quot;&lt;&lt;&lt; reply &quot;);<br />  Serial.print(millis() - timer);<br />  Serial.println(&quot; ms&quot;);<br />  Serial.println((const char*) Ethernet::buffer + off);<br />}<br /><br />void setup () {<br />  Serial.begin(57600);<br />  Serial.println(&quot;\n&#91;getDHCPandDNS&#93;&quot;);<br />  <br />  if (ether.begin(sizeof Ethernet::buffer, mymac) == 0) <br />    Serial.println( &quot;Failed to access Ethernet controller&quot;);<br /><br />  if (!ether.dhcpSetup())<br />    Serial.println(&quot;DHCP failed&quot;);<br />  <br />  ether.printIp(&quot;My IP: &quot;, ether.myip);<br />  // ether.printIp(&quot;Netmask: &quot;, ether.mymask);<br />  ether.printIp(&quot;GW IP: &quot;, ether.gwip);<br />  ether.printIp(&quot;DNS IP: &quot;, ether.dnsip);<br /><br />  if (!ether.dnsLookup(website))<br />    Serial.println(&quot;DNS failed&quot;);<br />  ether.printIp(&quot;Server: &quot;, ether.hisip);<br />  <br />  timer = - REQUEST_RATE; // start timing out right away<br />}<br /><br />void loop () {<br />    <br />  ether.packetLoop(ether.packetReceive());<br />  <br />  if (millis() &gt; timer + REQUEST_RATE) {<br />    timer = millis();<br />    Serial.println(&quot;\n&gt;&gt;&gt; REQ&quot;);<br />    ether.browseUrl(PSTR(&quot;/foo/&quot;), &quot;bar&quot;, website, my_result_cb);<br />  }<br />}[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=7347">kepes12</a> — 26 maja 2015, o 18:49</p><hr />
]]></content>
</entry>
</feed>