ahmedragia21
Member
Hi, I need to light an LED ( output digital 1 ) but in random hours , i dont know the algorithm , but im sure im gonna use srand() and rand ? but i dont know how to embolyee them for that task ?
Correct.Im using Keil C51
I think its an algorithmic problem not really realted to the uC or the compiler , right?