<?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>IO control for P89LPC931 with MCB900 Evaluation Board</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/21415/io-control-for-p89lpc931-with-mcb900-evaluation-board</link><description> 
Question: 

 
I have set P0.1-P0.7 as output . P1.6 as start button , P1.6 as
Tip On , how can i program in C language ? and how the program wait
for the signal from P1.7 and P1.6? 

 
below are the main void 

 
void main(void) 
{ P0M1 &amp;amp;= 0x01; //</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator></channel></rss>