<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>simultanious keypad operation</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/24765/simultanious-keypad-operation</link><description> 
2 identical modules are their. Each module having 8051,keypad and
LCD. 
what i have done in any of the keypad the same operation also should
effect in the another module. 
For EX: TWO modules ,one module having the key pad KP1 and the other
module having</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: simultanious keypad operation</title><link>https://community.arm.com/thread/53151?ContentTypeID=1</link><pubDate>Tue, 23 Dec 2008 00:01:50 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6557374e-8ee2-48aa-a261-75989062b259</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Sorry, I don&amp;#39;t understand.&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;one module having the key pad KP1 and the other module having
the keypad KP2&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Do you mean these are 2 different keypads - eg, from different
manufacturers - but you want to make the behaviour the same?&lt;/p&gt;

&lt;p&gt;
ie,&lt;/p&gt;

&lt;pre&gt;
if( kp1_is_fitted )
{
   handle_kp1();
}
else
{
   handle_kp2();
}
&lt;/pre&gt;

&lt;p&gt;
Or do you mean that you want the KP1 unit to inform the KP2 unit
&amp;quot;some key has been pressed&amp;quot; and then you want the KP2 unit to react
as if the corresponding key had been pressed on its own keypad?&lt;br /&gt;
ie, KP1 effectively acts as a &amp;quot;remote keypad&amp;quot; for KP2?&lt;/p&gt;

&lt;p&gt;
In that case, you just need to make your &amp;quot;keypress&amp;quot; handler
independent of whether the &amp;quot;keypress&amp;quot; is received from the &amp;quot;local&amp;quot;
keypad or the &amp;quot;remote&amp;quot; one...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>