<?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>topic Re: PRINTF doesn't print leading zeroes in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PRINTF-doesn-t-print-leading-zeroes/m-p/650702#M7035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why is this normal behavior? &amp;nbsp;To my understanding, printf() should print leading zeroes when using the %08X format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Nov 2016 16:22:39 GMT</pubDate>
    <dc:creator>michaelellis</dc:creator>
    <dc:date>2016-11-22T16:22:39Z</dc:date>
    <item>
      <title>PRINTF doesn't print leading zeroes</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PRINTF-doesn-t-print-leading-zeroes/m-p/650700#M7033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SDK v.2.0 for TWR-KV58F220M&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The PRINTF function does not seem to print leading zeroes. &amp;nbsp;For example:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PRINTF("0x%08X\n\r", 0xabcdef42U);&lt;BR /&gt; PRINTF("0x%08X\n\r", 0xabcdefU);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;generates an output of:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;0xABCDEF42&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;0x &amp;nbsp;ABCDEF&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 18:50:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PRINTF-doesn-t-print-leading-zeroes/m-p/650700#M7033</guid>
      <dc:creator>michaelellis</dc:creator>
      <dc:date>2016-11-10T18:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: PRINTF doesn't print leading zeroes</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PRINTF-doesn-t-print-leading-zeroes/m-p/650701#M7034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the Printf() function&amp;nbsp; omits the leading zero, this is a normal behaviour.&lt;/P&gt;&lt;P&gt;Sorry for not helping you.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 08:47:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PRINTF-doesn-t-print-leading-zeroes/m-p/650701#M7034</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2016-11-15T08:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: PRINTF doesn't print leading zeroes</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PRINTF-doesn-t-print-leading-zeroes/m-p/650702#M7035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why is this normal behavior? &amp;nbsp;To my understanding, printf() should print leading zeroes when using the %08X format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 16:22:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PRINTF-doesn-t-print-leading-zeroes/m-p/650702#M7035</guid>
      <dc:creator>michaelellis</dc:creator>
      <dc:date>2016-11-22T16:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: PRINTF doesn't print leading zeroes</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PRINTF-doesn-t-print-leading-zeroes/m-p/650703#M7036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Why is this normal behavior? &amp;nbsp;To my understanding, printf() should print leading zeroes when using the %08X format.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Michael&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 19:39:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PRINTF-doesn-t-print-leading-zeroes/m-p/650703#M7036</guid>
      <dc:creator>michaelellis</dc:creator>
      <dc:date>2016-12-01T19:39:19Z</dc:date>
    </item>
  </channel>
</rss>

