Tako Kichi
New Member
Hi Folks,
I'm just starting out with programming and even though I have searched long and hard on the web I seem unable to find an answer to a question and I wondered if anyone on here might help me out.
I am working on a hobby project that calls for a pseudo random time delay of between 0.5 and 60 seconds before sending a HIGH signal to a pinout. This delay would need to be different each time the sequence is activated.
I have found lots of info on writing code for various timed delays and for generating random numbers for dice type games or digital readouts but nothing for a random time delay.
Does anyone know if this is possible (I am thinking it should be) and if so could you give me some pointers on how to write the code to get it to work. I am not looking for you to write the entire program for me but just help to point me down the right track.
Thanks,
Larry
I'm just starting out with programming and even though I have searched long and hard on the web I seem unable to find an answer to a question and I wondered if anyone on here might help me out.
I am working on a hobby project that calls for a pseudo random time delay of between 0.5 and 60 seconds before sending a HIGH signal to a pinout. This delay would need to be different each time the sequence is activated.
I have found lots of info on writing code for various timed delays and for generating random numbers for dice type games or digital readouts but nothing for a random time delay.
Does anyone know if this is possible (I am thinking it should be) and if so could you give me some pointers on how to write the code to get it to work. I am not looking for you to write the entire program for me but just help to point me down the right track.
Thanks,
Larry