void delay(uint n) { uint i,j; for(i=0;i