<?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>8-bit MicrocontrollersのトピックRe: Push button C program required</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Push-button-C-program-required/m-p/124719#M415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sounds a bit like a school project, so you would probably want to learn then as well.&lt;/P&gt;&lt;P&gt;The subject is discussed here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1984" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1984&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1811" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1811&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Jul 2006 05:49:54 GMT</pubDate>
    <dc:creator>peg</dc:creator>
    <dc:date>2006-07-23T05:49:54Z</dc:date>
    <item>
      <title>Push button C program required</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Push-button-C-program-required/m-p/124717#M413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is required to connect 4 push buttons to a 89c668 microcontroller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When a key is pressed an interrupt is generated to read the key pressed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The program should include &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. a 'debounce function' for mechanical bounce of the switches.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. An interrupt service routine for the function &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'void EX0_readKeyP(void)interrupt 0 {...}'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. A 'main function' to set up the interrupt and place the key read into port 2 of the microcontroller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Jul 2006 22:51:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Push-button-C-program-required/m-p/124717#M413</guid>
      <dc:creator>spursrn01</dc:creator>
      <dc:date>2006-07-22T22:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Push button C program required</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Push-button-C-program-required/m-p/124718#M414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi, Spursrn01:&lt;BR /&gt;&lt;BR /&gt;I don't think that you will find any 8051-compatible code on the Freescale forums, even if it is C code, since none of their microcontrollers are 8051-compatible. Button routines and interrupt service routines are going to be awfully hardware-specific.&lt;BR /&gt;&lt;BR /&gt;You might try here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.8052.com/forum/" target="test_blank"&gt;http://www.8052.com/forum/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2006 03:06:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Push-button-C-program-required/m-p/124718#M414</guid>
      <dc:creator>rocco</dc:creator>
      <dc:date>2006-07-23T03:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Push button C program required</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Push-button-C-program-required/m-p/124719#M415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sounds a bit like a school project, so you would probably want to learn then as well.&lt;/P&gt;&lt;P&gt;The subject is discussed here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1984" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1984&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1811" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1811&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2006 05:49:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Push-button-C-program-required/m-p/124719#M415</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-07-23T05:49:54Z</dc:date>
    </item>
  </channel>
</rss>

