<?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=17065&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2016-12-13T22:01:34+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=47&amp;t=17065&amp;mode</id>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2016-12-13T22:01:34+01:00</updated>
<published>2016-12-13T22:01:34+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=17065&amp;p=177423#p177423</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=17065&amp;p=177423#p177423"/>
<title type="html"><![CDATA[Re: Z arduino na Atmega8.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=17065&amp;p=177423#p177423"><![CDATA[
No i jaki dział ? ... ostatnio nowi coś atakują DIY <img src="https://forum.atnel.pl/images/smilies/icon_e_wink.gif" alt=";)" title="Puszcza oko" /> masakra<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=54">mirekk36</a> — 13 gru 2016, o 22:01</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[SunRiver]]></name></author>
<updated>2016-12-13T22:00:04+01:00</updated>
<published>2016-12-13T22:00:04+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=17065&amp;p=177422#p177422</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=17065&amp;p=177422#p177422"/>
<title type="html"><![CDATA[Re: Z arduino na Atmega8.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=17065&amp;p=177422#p177422"><![CDATA[
<strong><span style="color: #FF0000">PROSZĘ POPRAWIĆ KOD ZGODNIE Z ZASADAMI <br /><!-- l --><a class="postlink-local" href="http://forum.atnel.pl/topic14999.html" >topic14999.html</a><!-- l --></span></strong><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=58">SunRiver</a> — 13 gru 2016, o 22:00</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[karczon007]]></name></author>
<updated>2016-12-13T21:53:02+01:00</updated>
<published>2016-12-13T21:53:02+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=17065&amp;p=177421#p177421</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=17065&amp;p=177421#p177421"/>
<title type="html"><![CDATA[Z arduino na Atmega8.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=17065&amp;p=177421#p177421"><![CDATA[
Witam Wszystkich. <br />Pierwszy raz jestem na tym forum i dopiero co zaczynam zabawę z Atmega. <br />Posiadam kod na Arduino na czujnik cisnienia MPXV7002DP a chce sie połączyc przez programator ATBuspAsp do atmegi8.<br />Problem polega na tym ze nie wiem jak przerobic ten program, aby zadziałał na atmega8.<br />Oto kod:<br /><br />int sensorPin = A1;   <br />int sensorValue = 0; <br />float Vout=0;<br />float P=0;<br />void setup() {<br /><br />  // declare the ledPin as an OUTPUT:<br />   Serial.begin(9600); <br />}<br /><br />void loop() {<br />    int i=0;<br />    int sum=0;<br />    int offset=0;<br />    Serial.println(&quot;init...&quot;);<br />    for(i=0;i&lt;10;i++)<br />    {<br />         sensorValue = analogRead(sensorPin)-512;<br />         sum+=sensorValue;<br />    }<br />    offset=sum/10.0;<br />    Serial.println(&quot;Ok&quot;);<br />    while(1)<br />    {<br />       sensorValue = analogRead(sensorPin)-offset; <br />       Vout=(5*sensorValue)/1024.0;<br />       P=Vout-2.5;           <br />       Serial.print(&quot;Presure = &quot; );                       <br />       Serial.print(P*1000); <br />       Serial.println(&quot;Pa&quot;);<br />       delay(1000);   <br />    }<br />}<br />Proszę o pomoc. <br />Pozdrawiam.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=15793">karczon007</a> — 13 gru 2016, o 21:53</p><hr />
]]></content>
</entry>
</feed>