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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2016-12-08T10:28:50+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=16972&amp;mode</id>
<entry>
<author><name><![CDATA[MirekTrzeci]]></name></author>
<updated>2016-12-08T10:28:50+01:00</updated>
<published>2016-12-08T10:28:50+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176873#p176873</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176873#p176873"/>
<title type="html"><![CDATA[Re: Problem: uzycie funkcji trygonometrycznych w AVR]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176873#p176873"><![CDATA[
dziekuje bardzo, zaraz zabiore sie do pracy...<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=15712">MirekTrzeci</a> — 8 gru 2016, o 10:28</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Krauser]]></name></author>
<updated>2016-12-07T22:02:27+01:00</updated>
<published>2016-12-07T22:02:27+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176834#p176834</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176834#p176834"/>
<title type="html"><![CDATA[Re: Problem: uzycie funkcji trygonometrycznych w AVR]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176834#p176834"><![CDATA[
Przykład:<br /><a href="http://forum.atnel.pl/topic3419.html"  class="postlink">Tablica wartości funkcji utworzona preprocesorem</a><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=465">Krauser</a> — 7 gru 2016, o 22:02</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[andrews]]></name></author>
<updated>2016-12-04T13:08:56+01:00</updated>
<published>2016-12-04T13:08:56+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176468#p176468</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176468#p176468"/>
<title type="html"><![CDATA[Re: Problem: uzycie funkcji trygonometrycznych w AVR]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176468#p176468"><![CDATA[
To co napisali koledzy powyżej to oczywiście słuszne uwagi, ja spytam jednak o coś innego.<br /><br />Czy masz jakiś ważny powód, aby umieścić tę tablicę w pamięci RAM?<br />Pamięci FLASH jest zwykle więcej, a wartości sinusa są przecież stałe.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=14165">andrews</a> — 4 gru 2016, o 13:08</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Sparrow-hawk]]></name></author>
<updated>2016-12-04T12:28:31+01:00</updated>
<published>2016-12-04T12:28:31+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176464#p176464</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176464#p176464"/>
<title type="html"><![CDATA[Re: Problem: uzycie funkcji trygonometrycznych w AVR]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176464#p176464"><![CDATA[
Dodaj w opcjach linkera -lm.<br /><br />Więcej tutaj:<br /><a href="http://www.atmel.com/webdoc/AVRLibcReferenceManual/group__avr__math.html"  class="postlink">AVR Libc Reference Manual Modules: &lt;math.h&gt;: Mathematics</a><br /><a href="http://www.atmel.com/webdoc/AVRLibcReferenceManual/FAQ_1faq_libm.html"  class="postlink">AVR Libc Reference Manual FAQ: I get &quot;undefined reference to...&quot; for functions like &quot;sin()</a><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=10614">Sparrow-hawk</a> — 4 gru 2016, o 12:28</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kamasz]]></name></author>
<updated>2016-12-04T03:13:49+01:00</updated>
<published>2016-12-04T03:13:49+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176444#p176444</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176444#p176444"/>
<title type="html"><![CDATA[Re: Problem: uzycie funkcji trygonometrycznych w AVR]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176444#p176444"><![CDATA[
Cześć,<br />Czy pomyślałeś co z wartością sin_pom zrobi rzutowanie na uint16_t ?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=5475">kamasz</a> — 4 gru 2016, o 03:13</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[MirekTrzeci]]></name></author>
<updated>2016-12-03T20:51:36+01:00</updated>
<published>2016-12-03T20:51:36+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176396#p176396</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176396#p176396"/>
<title type="html"><![CDATA[Problem: uzycie funkcji trygonometrycznych w AVR]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=16972&amp;p=176396#p176396"><![CDATA[
W moim nowym programie sterujacym falownikiem chce umiescic wieksza niz zwykle tablice sinus a, wiec pomyslalem ze powinienem ja wygenerowac tym razem przy pomocy funkcji sin ( ma miec 180 punktow). Natrafilem jednak na dziwny problem;<br />na poczatku pliku main oczywiscie informacja dla preprocesora: #include &lt;math.h&gt;<br />nastepnie w funkcji main przed while(1):<br /><br />[// przygotowanie wielkiej tablicy sinusa<br /><br />for ( idx = 0 ; idx &lt; 180 ; idx++ ) {<br />sin_pom = sin ( idx * M_PI / 180 );<br />sin_baza180 [ idx ] = (uint16_t) sin_pom;<br />}=c][/syntax]<br /><br />Po skompilowaniu otrzymuje blad: Id returned 1 exit status, dopiero gdy w argumencie funkcji sin podstawiam wartosc doslowna np M_PI albo 0 program kompiluje sie normalnie. Nie rozumiem dlaczego tak sie dzieje, bardzo prosze o podpowiedz...<br />Srodowisko Eclipse LUNA/ windows 8.1<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=15712">MirekTrzeci</a> — 3 gru 2016, o 20:51</p><hr />
]]></content>
</entry>
</feed>