
unsigned int  binval1, binval2, binval3, mlvalue ; 

void main (void)
{		
//============= START WHILE ===================

// ..... Various Init code goes here

   while(1)
   {  
     msDelay(200);		               // Update clock every xxx ms
     HeartBeatLED = ~HeartBeatLED ; 			 

// == SET VALUE UPDATE =========================
		 
  if ( get_key_press( 0x01))
    {
       mlvalue += 100 ;
       floatval += 0.01; 		  
       sprintf( dis_buf, "Rs.%04u SET:%04u  T:%010.3f  ", binval1, mlvalue, floatval);
       WriteLCD(dis_buf);
       while( get_key_press( 0x01));
     }  

//=============== END WHILE ====================	
    }				   // While closes.. 
  }	                                             // Main closes.
