<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">To nema HW SPI? A jestli jo, nema jich
      vic, ze by se nahradil?<br>
      <br>
      Dne 05.12.2017 v 22:13 Radek Koutsky napsal(a):<br>
    </div>
    <blockquote type="cite"
      cite="mid:041001d36e0d$f2c5dd00$d8519700$@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"Formátovaný v HTML Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Text bubliny Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.FormtovanvHTMLChar
        {mso-style-name:"Formátovaný v HTML Char";
        mso-style-priority:99;
        mso-style-link:"Formátovaný v HTML";
        font-family:Consolas;
        mso-fareast-language:CS;}
span.StylE-mailovZprvy20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:black;}
span.TextbublinyChar
        {mso-style-name:"Text bubliny Char";
        mso-style-priority:99;
        mso-style-link:"Text bubliny";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:CS;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Potom
            není co řešit, SPI je triviální sběrnice.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Využil
            bych PIN kde je možnost přerušení a tomuto PINu bych
            definoval hodiny…zbytek netřeba komentovat…<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">R.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
            Hw-list [<a class="moz-txt-link-freetext" href="mailto:hw-list-bounces@list.hw.cz">mailto:hw-list-bounces@list.hw.cz</a>] <b>On Behalf Of
            </b>Jirka Mww<br>
            <b>Sent:</b> Tuesday, December 5, 2017 10:10 PM<br>
            <b>To:</b> HW-news<br>
            <b>Subject:</b> Re: Relokace pinu SPI na arduino mega<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">Z fora Arduino : <br>
            <br>
            You can also mix C and assembly using the "asm"
            pseudo-function. By using the "naked" attribute for
            functions, you can write your entire program in assembly
            code, but from within a C file so that the compiler takes
            care of all the labels, section directives, etc. For
            example:<o:p></o:p></p>
          <div>
            <p class="MsoNormal">Code: [Select]<o:p></o:p></p>
          </div>
          <pre><code>void somefunction(void) __attribute__((naked))</code>
<code>{</code>
<code>  asm volatile ("</code>

<code> ; your assembly code here</code>

<code>  ");</code>
<code>}</code><o:p></o:p></pre>
        </div>
        <div>
          <p class="MsoNormal"><br clear="all">
            <o:p></o:p></p>
          <div>
            <div>
              <p class="MsoNormal">Zdravi<br>
                Jirka Sloupenský  OK1MWW<o:p></o:p></p>
            </div>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <p class="MsoNormal">Dne 5. prosince 2017 22:00 Radek
              Koutsky <<a href="mailto:radek.koutsky@gmail.com"
                target="_blank" moz-do-not-send="true">radek.koutsky@gmail.com</a>>
              napsal(a):<o:p></o:p></p>
            <p class="MsoNormal">Je pravda, že nejsem příznivcem této
              "vychytávky" nicméně chcete mi říct, že v Arduino nelze
              praktikovat assembler?<br>
              <br>
              <br>
              <br>
              R.<br>
              <br>
              -----Original Message-----<br>
              From: Hw-list [mailto:<a
                href="mailto:hw-list-bounces@list.hw.cz"
                moz-do-not-send="true">hw-list-bounces@list.hw.cz</a>]
              On Behalf Of Petr Labaj<br>
              Sent: Tuesday, December 5, 2017 9:39 PM<br>
              To: <a href="mailto:hw-list@list.hw.cz"
                moz-do-not-send="true">hw-list@list.hw.cz</a><br>
              Subject: Re: Relokace pinu SPI na arduino mega<br>
              <br>
              Pane kolego ... Arduino, Arduino.<br>
              Tam se to takhle nedělá ...<br>
              <br>
              PL<br>
              <br>
              ********************<br>
              <br>
              Dne 5.12.2017 v 21:32 Radek Koutsky napsal(a):<br>
              > Zdali jste středně pokročilým uživatelem, tak SPI
              knihovnu zvládnete napsat během pár minut.<br>
              _______________________________________________<br>
              HW-list mailing list  -  sponsored by <a
                href="http://www.HW.cz" target="_blank"
                moz-do-not-send="true">www.HW.cz</a> <a
                href="mailto:Hw-list@list.hw.cz" moz-do-not-send="true">Hw-list@list.hw.cz</a>
              <a href="http://list.hw.cz/mailman/listinfo/hw-list"
                target="_blank" moz-do-not-send="true">http://list.hw.cz/mailman/listinfo/hw-list</a><br>
              <br>
              _______________________________________________<br>
              HW-list mailing list  -  sponsored by <a
                href="http://www.HW.cz" target="_blank"
                moz-do-not-send="true">www.HW.cz</a><br>
              <a href="mailto:Hw-list@list.hw.cz" moz-do-not-send="true">Hw-list@list.hw.cz</a><br>
              <a href="http://list.hw.cz/mailman/listinfo/hw-list"
                target="_blank" moz-do-not-send="true">http://list.hw.cz/mailman/listinfo/hw-list</a><o:p></o:p></p>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
HW-list mailing list  -  sponsored by <a class="moz-txt-link-abbreviated" href="http://www.HW.cz">www.HW.cz</a>
<a class="moz-txt-link-abbreviated" href="mailto:Hw-list@list.hw.cz">Hw-list@list.hw.cz</a>
<a 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>
    <p><br>
    </p>
  </body>
</html>