Void loop() makes confuse me..

I want to execute these below two functions infintely in a void loop() function. But when first function execcutes and return back to void loop() function, it returns back to initial condition , and again first function is called.. compiler doesnot goto second function . What may be its solution??

my void loop() code goes here.. void loop() {

Vcheck(); delay(5000); Acheck(); delay(5000); }

I have a definition for both function ..

compiler doesnot goto second function

How do you know?

when i am checking in serial monitor , it executes first function and again it executes first function repeatedly...

Post your whole sketch, not just a snippet.

Jiggy-Ninja:
Post your whole sketch, not just a snippet.

… in code tags please; it’s difficult to read otherwise.

It's much better
{
when it looks}
like this

We’ll see when you post, but have you got a serial print in Acheck?

Maybe Vcheck’s calling itself?

Your code will call Vcheck() and then Acheck() and then loop( ) will start again and call Vcheck( ) again.

If you think it is doing something else, you are probably mistaken.

How did you define the functions?
Post all your code.

michinyon:
Your code will call Vcheck() and then Acheck() and then loop( ) will start again and call Vcheck( ) again.

If you think it is doing something else, you are probably mistaken.

Which is what prompted me to wonder this:

Maybe Vcheck’s calling itself?

There is no issue with what you posted. If you post your definitions for VCheck() and ACheck(), I’m sure we’d be able to help.