Tuesday, 14 February 2012

A digital delay function in C Programming


/*Generate a long  digital delay*/

void longDelay()            //function name
{
int i, j;                           //define integer variables

for (i = 1; i < 5; i++)
{
          for (j = 1; j < 5500; j++) ; //6000
           }
   

}//end of function

No comments:

Post a Comment

Compiler for C,C++ and Python {paste your programme to see the output}