Void

From Microduino Wiki
Revision as of 03:46, 18 August 2016 by Fengfeng (talk) (Created page with "void Void is used only in the function declaration. It It indicates that this function won’t return any data to its called function. <br> *'''Example<br>''' <pre style="c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

void

Void is used only in the function declaration. It It indicates that this function won’t return any data to its called function.

  • Example
//The function is executed in “setup” and “loop”.
//There is no data returned to the high level program. 

void setup()
{
// ...
}
 
void loop()
{
// ...
}

[Return to Arduino Syntax Manual]