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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2017-05-16T01:02:46+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=18417&amp;mode</id>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2017-05-16T01:02:46+01:00</updated>
<published>2017-05-16T01:02:46+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189310#p189310</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189310#p189310"/>
<title type="html"><![CDATA[Re: LCD HD44780 04_LCD]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189310#p189310"><![CDATA[
A może jednak obejrzyj to:<br /><br /><!-- m --><a class="postlink" href="http://mirekk36.blogspot.com/2015/07/eclipse-start-plus-pierwszy-program.html" >http://mirekk36.blogspot.com/2015/07/ec ... ogram.html</a><!-- m --><br /><br />ale na prawdę DOKŁADNIE, to zobaczysz, że wszystko będzie działać<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=54">mirekk36</a> — 16 maja 2017, o 01:02</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[getbigpayout]]></name></author>
<updated>2017-05-15T23:27:56+01:00</updated>
<published>2017-05-15T23:27:56+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189309#p189309</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189309#p189309"/>
<title type="html"><![CDATA[Re: LCD HD44780 04_LCD]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189309#p189309"><![CDATA[
Poprawiłem to w Target Hardware<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=16802">getbigpayout</a> — 15 maja 2017, o 23:27</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[roberto_k_w]]></name></author>
<updated>2017-05-15T23:03:41+01:00</updated>
<published>2017-05-15T23:03:41+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189307#p189307</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189307#p189307"/>
<title type="html"><![CDATA[Re: LCD HD44780 04_LCD]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189307#p189307"><![CDATA[
<div class="quotetitle">getbigpayout napisał(a):</div><div class="quotecontent"><br />-Połączenia na płytce OK<br />-Atmega8 działa poprawnie, wczytuje programy(testowałem na diodach)<br />-taktowanie 8Mhz w eclipse i w mkavr calculator<br />-wyświetlacz sprawny<br /></div><br />A może kolega powinien zmienić na Atmega8 w Eclipsiku ? <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":-)" title="Szczęśliwy" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=13729">roberto_k_w</a> — 15 maja 2017, o 23:03</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[getbigpayout]]></name></author>
<updated>2017-05-15T21:25:35+01:00</updated>
<published>2017-05-15T21:25:35+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189295#p189295</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189295#p189295"/>
<title type="html"><![CDATA[Re: LCD HD44780 04_LCD]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189295#p189295"><![CDATA[
Target Hardware był źle poprawiłem, natomiast po tym<br /><a href="https://obrazkiforum.atnel.pl/16802/6b82bff8b0a73adcf25df866e19afd8e.png"  class="postlink"><img src="https://obrazkiforum.atnel.pl/thumb/16802/6b82bff8b0a73adcf25df866e19afd8e.png" alt="Obrazek" /></a><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=16802">getbigpayout</a> — 15 maja 2017, o 21:25</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Makowka]]></name></author>
<updated>2017-05-15T21:15:46+01:00</updated>
<published>2017-05-15T21:15:46+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189293#p189293</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189293#p189293"/>
<title type="html"><![CDATA[Re: LCD HD44780 04_LCD]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189293#p189293"><![CDATA[
Kompilator nie rozpoznaje ci podstawowych makr.<br />Zobacz, czy masz dobrze ustawiony target hardware i zrób clean projektu.<br /><br />Pozdr.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=10748">Makowka</a> — 15 maja 2017, o 21:15</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[getbigpayout]]></name></author>
<updated>2017-05-15T21:17:40+01:00</updated>
<published>2017-05-15T21:09:26+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189291#p189291</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189291#p189291"/>
<title type="html"><![CDATA[LCD HD44780 04_LCD]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=18417&amp;p=189291#p189291"><![CDATA[
Witam.<br />Problem dotyczy wyświetlacza LCD HD44780.<br />Próbuje załadować program pana Mirka 04_LCD, ustawiam odpowiednie piny, modyfikuje bibliotekę pod moje połączenia.<br /><br />Project -&gt; Properties<br /><a href="https://obrazkiforum.atnel.pl/16802/b6ef69dbacef956bdd5244deee2f2a03.png"  class="postlink"><img src="https://obrazkiforum.atnel.pl/thumb/16802/b6ef69dbacef956bdd5244deee2f2a03.png" alt="Obrazek" /></a><br />Odpowiedź konsoli po próbie wgrania<br />[syntax]Launching C:\AVRDUDE\avrdude -pm32 -cusbasp -Uflash:w:04_LCD.hex:a &quot;-Ueeprom:w:C:\Users\Krzysztof\workspace_mars\04_LCD\Release\04_LCD.hex:a&quot; <br />Output:<br /><br />avrdude: AVR device initialized and ready to accept instructions<br /><br />Reading | ################################################## | 100% 0.01s<br /><br />avrdude: Device signature = 0x1e9307<br />avrdude: Expected signature for ATMEGA32 is 1E 95 02<br />         Double check chip, or use -F to override this check.<br /><br />avrdude done.  Thank you.<br /><br />Compiled special for http://forum.atnel.pl (v5.11.1)<br /><br />avrdude finished[/syntax]<br /><br />Build na bibliotece hd44780.h<br /><br />[syntax]20:03:59 **** Incremental Build of configuration Release for project 04_LCD ****<br />make all <br />'Building file: ../LCD/lcd44780.c'<br />'Invoking: AVR Compiler'<br />avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega32 -DF_CPU=11059200UL -MMD -MP -MF&quot;LCD/lcd44780.d&quot; -MT&quot;LCD/lcd44780.o&quot; -c -o &quot;LCD/lcd44780.o&quot; &quot;../LCD/lcd44780.c&quot;<br />In file included from ../LCD/lcd44780.c:22:0:<br />../LCD/lcd44780.c: In function 'data_dir_out':<br />../LCD/lcd44780.h:131:18: error: 'DDRc' undeclared (first use in this function)<br /> #define SDDR(x) (DDR##x)<br />                  ^<br />../LCD/lcd44780.h:130:16: note: in expansion of macro 'SDDR'<br /> #define DDR(x) SDDR(x)<br />                ^<br />../LCD/lcd44780.c:49:2: note: in expansion of macro 'DDR'<br />  DDR(LCD_D6PORT) |= (1&lt;&lt;LCD_D6);<br />  ^<br />../LCD/lcd44780.h:131:18: note: each undeclared identifier is reported only once for each function it appears in<br /> #define SDDR(x) (DDR##x)<br />                  ^<br />../LCD/lcd44780.h:130:16: note: in expansion of macro 'SDDR'<br /> #define DDR(x) SDDR(x)<br />                ^<br />../LCD/lcd44780.c:49:2: note: in expansion of macro 'DDR'<br />  DDR(LCD_D6PORT) |= (1&lt;&lt;LCD_D6);<br />  ^<br />../LCD/lcd44780.c: In function 'data_dir_in':<br />../LCD/lcd44780.h:131:18: error: 'DDRc' undeclared (first use in this function)<br /> #define SDDR(x) (DDR##x)<br />                  ^<br />../LCD/lcd44780.h:130:16: note: in expansion of macro 'SDDR'<br /> #define DDR(x) SDDR(x)<br />                ^<br />../LCD/lcd44780.c:62:2: note: in expansion of macro 'DDR'<br />  DDR(LCD_D6PORT) &amp;= ~(1&lt;&lt;LCD_D6);<br />  ^<br />../LCD/lcd44780.c: In function 'lcd_sendHalf':<br />../LCD/lcd44780.h:125:19: error: 'PORTc' undeclared (first use in this function)<br /> #define SPORT(x) (PORT##x)<br />                   ^<br />../LCD/lcd44780.h:124:17: note: in expansion of macro 'SPORT'<br /> #define PORT(x) SPORT(x)<br />                 ^<br />../LCD/lcd44780.c:74:19: note: in expansion of macro 'PORT'<br />  if (data&amp;(1&lt;&lt;0)) PORT(LCD_D4PORT) |= (1&lt;&lt;LCD_D4); else PORT(LCD_D4PORT) &amp;= ~(1&lt;&lt;LCD_D4);<br />                   ^<br />../LCD/lcd44780.c: In function 'lcd_readHalf':<br />../LCD/lcd44780.h:128:18: error: 'PINc' undeclared (first use in this function)<br /> #define SPIN(x) (PIN##x)<br />                  ^<br />../LCD/lcd44780.h:127:16: note: in expansion of macro 'SPIN'<br /> #define PIN(x) SPIN(x)<br />                ^<br />../LCD/lcd44780.c:90:5: note: in expansion of macro 'PIN'<br />  if(PIN(LCD_D4PORT)&amp;(1&lt;&lt;LCD_D4)) result |= (1&lt;&lt;0);<br />     ^<br />make: *** &#91;LCD/lcd44780.o&#93; Blad 1[/syntax]<br /><br />-Połączenia na płytce OK<br />-Atmega8 działa poprawnie, wczytuje programy(testowałem na diodach)<br />-taktowanie 8Mhz w eclipse i w mkavr calculator<br />-wyświetlacz sprawny<br /><br />///edit poprawione obrazki<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=16802">getbigpayout</a> — 15 maja 2017, o 21:09</p><hr />
]]></content>
</entry>
</feed>