482202771 by Unknown

482202771 by Unknown

Author:Unknown
Language: eng
Format: epub


while(Num>0) // wave train

{

while(Entrada == 0); // wait until the port status climb Tiempo = get_timer1(); // read value

if ((Tiempo) > T) { bit_set(Cod[i], Num-1);Num-=1;} // if the Bit = 1

if ((Tiempo) < T) { bit_clear(Cod[i], Num-1);Num-=1;} // it the Bit = 0

while(Entrada == 1) {set_timer1(0);}

} // end of while Num

} // end of for if (Cod[1]==42&&Cod[2]==42&&Cod[3]==42&&Cod[4]==42) { Bien = 1;}

else {Mal = 1;delay_ms(2000);Mal = 0;}

if(Bien == 1 && Encender == 0 ){Encender = 1;delay_ms(2000);Bien = 0;}

if(Bien == 1 && Encender == 1 ){Encender = 0;delay_ms(2000);Bien = 0;}

} // end of while (True)

} // end of Main

} // end of Main



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.