/* Figure out what the following program does and describe it. If the input signal to P1.0 is a square wave of some period and duty cycle, what is the range of the period and duty cycle allowed for reliable operation? */ sbit inbit= 0x90; sbit outbit= 0x91; void main(void){ signed char i; while(1){ i= 0; while(inbit) i++; while(~inbit) i--; outbit= (i<0)?0:1; } } <div align="center"><br /><script type="text/javascript"><!-- google_ad_client = "pub-7293844627074885"; //468x60, Created at 07. 11. 25 google_ad_slot = "8619794253"; google_ad_width = 468; google_ad_height = 60; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><br /> </div>