what is the simplelist way to put a delay in your program? that is, a pause of a known length of time before the code afterwards is executed?
maybe an example:
switch(variable){
case 1:
*some code*;
~~~Pause here for 1 second~~~;
*some more code*;
break;
case 2:
*some code*;
~~~Pause here for .5 seconds~~~;
*some more code*;
break;
case 2:
*some code*;
~~~Pause here for .25 seconds~~~;
*some more code*;
break;
}
etc...
thanks for the help