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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2021-11-20T11:05:07+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=30&amp;t=24032&amp;mode</id>
<entry>
<author><name><![CDATA[fofex]]></name></author>
<updated>2021-11-20T11:05:07+01:00</updated>
<published>2021-11-20T11:05:07+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=24032&amp;p=234346#p234346</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=24032&amp;p=234346#p234346"/>
<title type="html"><![CDATA[Re: Standard bliniking program not working? STM8S103F3P6]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=24032&amp;p=234346#p234346"><![CDATA[
Probably, function delay_ms has been optimized out, so LEDs actually do blink yet too fast to be noticed.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=21072">fofex</a> — 20 lis 2021, o 11:05</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tom92]]></name></author>
<updated>2021-11-18T05:18:51+01:00</updated>
<published>2021-11-18T05:18:51+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=24032&amp;p=234303#p234303</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=24032&amp;p=234303#p234303"/>
<title type="html"><![CDATA[Re: Standard bliniking program not working? STM8S103F3P6]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=24032&amp;p=234303#p234303"><![CDATA[
Hi, <br />Your code has a lot of bugs. Typos in functions, function declaration is different from function definition, a colon instead of a semicolon etc. <br />Delete spaces in several places. Look carefully at your code.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=11336">Tom92</a> — 18 lis 2021, o 05:18</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kyson]]></name></author>
<updated>2021-11-18T04:11:20+01:00</updated>
<published>2021-11-18T04:11:20+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=24032&amp;p=234302#p234302</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=24032&amp;p=234302#p234302"/>
<title type="html"><![CDATA[Standard bliniking program not working? STM8S103F3P6]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=24032&amp;p=234302#p234302"><![CDATA[
Hello, everyone!<br />I am trying to get a standard linking led program running on my STM8S103F3P6 development board but I am not sure what I am doing wrong. I connected a LED to PIN D3, this is my code:<br />#include &lt;stm8s. h&gt;<br />void<br />delay_ ms (uint16. _t ms) ;<br />void<br />delay_ _ms(uint16 _t ms) {<br />while<br />(ms- -) {<br />uint16_ t i;<br />for <br />(i = 0:i&lt; ms; i++){<br />nop () ;<br />}<br />}<br />}<br />main()<br />{<br />GPI0D- &gt;DDR |=0x03;<br />//PD3 as Output<br />GPI0D- &gt;CR1 |=0x03:<br />//PD3 as Push Pull<br />while<br />GPI0D- &gt;0DR|=(1&lt;&lt;3) :<br />//turn PD3 on<br />de1ay_ ms (1000):<br />GPI0D-&gt;0DR&amp;=' ~ (1&lt;&lt;3) ;<br />//turn PD3 off<br />delay_ ms (1000) :<br />}<br />}<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=16488">kyson</a> — 18 lis 2021, o 04:11</p><hr />
]]></content>
</entry>
</feed>