<html>
<head>
<meta content="text/html; charset=windows-1250"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dobrý den,
<br>
<br>
A ještě jsem poslal blbou fotku. Takže to vypadá teď takto<br>
<pre wrap="">Skuste do inicializacie pridat
bitWrite(DDRB,6, 1);
</pre>
<br>
<a class="moz-txt-link-freetext" href="http://xanadu.khnet.info/oscillo/bw_bez_r_otoceny.png">http://xanadu.khnet.info/oscillo/bw_bez_r_otoceny.png</a><br>
<br>
S pozdravem,<br>
<pre class="moz-signature" cols="72">--
Aleš Filip
Kutná Hora
<a class="moz-txt-link-freetext" href="http://xanadu.khnet.info">http://xanadu.khnet.info</a></pre>
<div id="quoteDIV">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">Dne 25.1.2017 v 11:40 Ales Filip
napsal(a):<br>
</div>
<blockquote
cite="mid:2df8da92-15b9-053a-d13d-1aea526f1dd6@khnet.info"
type="cite">
<meta content="text/html; charset=windows-1250"
http-equiv="Content-Type">
Dobrý den, <br>
<br>
Nojo, měl jste pravdu. Já jsem bitWrite nikdy nepoužíval, takže
jsem si myslel, že stačí pinMode(12, OUTPUT);<br>
<br>
Už to vypadá jinak. Bez odporu, a bez vloženého zpoždění :<br>
<pre wrap=""><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://xanadu.khnet.info/oscillo/bw_bez_r_delay1.png">http://xanadu.khnet.info/oscillo/bw_bez_r_otoceny.png</a></pre>
<br>
<br>
S pozdravem,<br>
<pre class="moz-signature" cols="72">--
Aleš Filip
Kutná Hora
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://xanadu.khnet.info">http://xanadu.khnet.info</a></pre>
<div>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">Dne 25.1.2017 v 11:27 Jan
Waclawek napsal(a):<br>
</div>
<blockquote cite="mid:PC195201701251127450593015b917e@wek"
type="cite">
<pre wrap="">Ze Vy mate otoceny ten pin na vstup, tj. zapisom do PORTB zapinate/vypinate
len pullup?
Skuste do inicializacie pridat
bitWrite(DDRB,6, 1);
a dajte prec ten odpor.
wek
----- Original Message ---------------
Subject: Re: Arduino a rychlost
From: Ales Filip <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:nostromo@khnet.info"><nostromo@khnet.info></a>
Date: Wed, 25 Jan 2017 11:13:02 +0100
To: HW-news <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:hw-list@list.hw.cz"><hw-list@list.hw.cz></a>
</pre>
<blockquote type="cite">
<pre wrap="">Dobrý den,
Další pokusy:
bitWrite(PORTB,6, 0);
delay(1);
bitWrite(PORTB,6, 1);
delay(1);
bez odporu
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://xanadu.khnet.info/oscillo/bw_bez_r_delay1.png">http://xanadu.khnet.info/oscillo/bw_bez_r_delay1.png</a>
bitWrite(PORTB,6, 0);
delay(1);
bitWrite(PORTB,6, 1);
delay(1);
odpor 5k6 na zem
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://xanadu.khnet.info/oscillo/bw_r5k6_delay1.png">http://xanadu.khnet.info/oscillo/bw_r5k6_delay1.png</a>
bitWrite(PORTB,6, 0);
bitWrite(PORTB,6, 1);
odpor 5k6 na zem
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://xanadu.khnet.info/oscillo/bw_r5k6_full.png">http://xanadu.khnet.info/oscillo/bw_r5k6_full.png</a>
bitWrite(PORTB,6, 0);
10x za sebou
asm volatile("nop");
bitWrite(PORTB,6, 1);
10x za sebou
asm volatile("nop");
odpor 5k6 na zem
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://xanadu.khnet.info/oscillo/bw_r5k6_20xnop.png">http://xanadu.khnet.info/oscillo/bw_r5k6_20xnop.png</a>
a nakonec
digitalWriteFast(pinNum, HIGH);
digitalWriteFast(pinNum, LOW);
s odporem i bez stejné!
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://xanadu.khnet.info/oscillo/fw_5k6_1.png">http://xanadu.khnet.info/oscillo/fw_5k6_1.png</a>
S pozdravem,
--
Aleš Filip
Kutná Hora
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://xanadu.khnet.info">http://xanadu.khnet.info</a>
</pre>
</blockquote>
<pre wrap="">_______________________________________________
HW-list mailing list - sponsored by <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.HW.cz">www.HW.cz</a>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Hw-list@list.hw.cz">Hw-list@list.hw.cz</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://list.hw.cz/mailman/listinfo/hw-list">http://list.hw.cz/mailman/listinfo/hw-list</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
<br>
</div>
</body>
</html>