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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2018-01-25T12:43:22+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=20075&amp;mode</id>
<entry>
<author><name><![CDATA[Arek1111111111]]></name></author>
<updated>2018-01-25T12:13:36+01:00</updated>
<published>2018-01-25T12:13:36+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=20075&amp;p=202659#p202659</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=20075&amp;p=202659#p202659"/>
<title type="html"><![CDATA[Re: DS18B20]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=20075&amp;p=202659#p202659"><![CDATA[
[syntax=c]if(subzero)  cel*=-1[/syntax]<br /><br /><strong><span style="color: #808000">------------------------ [ Dodano po: 2 minutach ]</span></strong><br /><br />Dokładniej to robisz nową zmienną int, zapisujesz do niej wartość cel, jeśli jest na minusie to mnożysz razy -1 i możesz też dodać części dziesiętne.<br />Później wyświetlasz tylko tą swoją zmienną int.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=3349">Arek1111111111</a> — 25 sty 2018, o 12:13</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kuba]]></name></author>
<updated>2018-01-25T12:43:22+01:00</updated>
<published>2018-01-25T12:10:36+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=20075&amp;p=202658#p202658</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=20075&amp;p=202658#p202658"/>
<title type="html"><![CDATA[DS18B20]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=20075&amp;p=202658#p202658"><![CDATA[
Witam<br />Jak przeksztaucic uint8_t na int8_t chodzi mi oto pozbyć się zmiennej subzero.<br /><br />[syntax=c]if( DS18X20_OK == DS18X20_read_meas(gSensorIDs&#91;0&#93;, &amp;subzero, &amp;cel, &amp;cel_fract_bits) ) {<br /><br />mk_ssd1306_cls();<br />if(subzero) minus = '-';<br />else minus = ' ';<br />sprintf (teplota,&quot;%c%i.%i#C&quot;,minus,cel,cel_fract_bits);<br />mk_ssd1306_puts(0,0,teplota,2,1,0);[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1439">kuba</a> — 25 sty 2018, o 12:10</p><hr />
]]></content>
</entry>
</feed>