<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S12 / MagniV MicrocontrollersのトピックHow to Set hexadecimal data display format in the Terminal window  of the Hiwave?</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-Set-hexadecimal-data-display-format-in-the-Terminal/m-p/423526#M11297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am working on the Virtual SCI,I have received date in the Terminal window,but I want the data display in hexadecimal format ,How to set it?Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Jul 2015 05:49:35 GMT</pubDate>
    <dc:creator>xiaochenqiang</dc:creator>
    <dc:date>2015-07-18T05:49:35Z</dc:date>
    <item>
      <title>How to Set hexadecimal data display format in the Terminal window  of the Hiwave?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-Set-hexadecimal-data-display-format-in-the-Terminal/m-p/423526#M11297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am working on the Virtual SCI,I have received date in the Terminal window,but I want the data display in hexadecimal format ,How to set it?Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jul 2015 05:49:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-Set-hexadecimal-data-display-format-in-the-Terminal/m-p/423526#M11297</guid>
      <dc:creator>xiaochenqiang</dc:creator>
      <dc:date>2015-07-18T05:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set hexadecimal data display format in the Terminal window  of the Hiwave?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-Set-hexadecimal-data-display-format-in-the-Terminal/m-p/423527#M11298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why no one reply to the question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 02:32:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-Set-hexadecimal-data-display-format-in-the-Terminal/m-p/423527#M11298</guid>
      <dc:creator>xiaochenqiang</dc:creator>
      <dc:date>2015-07-20T02:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set hexadecimal data display format in the Terminal window  of the Hiwave?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-Set-hexadecimal-data-display-format-in-the-Terminal/m-p/423528#M11299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The data (characters) you sent to PC terminal should be displayed as they were sent.&lt;/P&gt;&lt;P&gt;So, it depends on what you actually send to terminal.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postbody"&gt;In this case, a simple putc() would work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postbody"&gt;//=============================&lt;/SPAN&gt;int k; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt; for (k = 0; k&amp;lt;100; k++) { &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; putc(k); &lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postbody"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postbody"&gt;//=============================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postbody"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;btw, what MCU do you use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 12:18:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-Set-hexadecimal-data-display-format-in-the-Terminal/m-p/423528#M11299</guid>
      <dc:creator>iggi</dc:creator>
      <dc:date>2015-07-21T12:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set hexadecimal data display format in the Terminal window  of the Hiwave?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-Set-hexadecimal-data-display-format-in-the-Terminal/m-p/423529#M11300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you will have to make a conversion function from whatever format your get to hex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or by using a printf function:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN class="typ"&gt;int&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; a &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit"&gt;3&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;BR /&gt;printf&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"0x%x\n"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; a&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;);&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun"&gt;this will give you &lt;CODE&gt;&lt;SPAN class="lit"&gt;0x3&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 13:38:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-Set-hexadecimal-data-display-format-in-the-Terminal/m-p/423529#M11300</guid>
      <dc:creator>Martin35804</dc:creator>
      <dc:date>2015-07-21T13:38:05Z</dc:date>
    </item>
  </channel>
</rss>

