For a speedometer project with arduino, I need to have two main functions. One which detects if you input the distance you would like to travel and gives you warnings that the speedometer will run without telling you distance left if you don't put an input in 10 seconds from that point (40 seconds into the program). either if you do input that information or if you don't you will be brought into the 2nd main function which actually begins the computation for the speedometer. I have figured out other ways to do this with modes one for the waiting for you to type in your input and the other which causes a continuous loop of the actual speedometer program, but I am still curious for future reference and just out of curiosity whether it is possible to have two void loop functions in arduino.
thanks