Thanks for the fast response, but I was really hoping for some code ( or pseudocode) to do the two different processes I suggested. One process can work well with just the delay() command I think, but not two. What do you think?
I think
loop(){
delay(5000);
//--do something every 5 seconds here
}
Would work fine. but what if you wanted to run the two processes such as I suggested. How could we code that?