void

void用来声明一个函数,该函数不会返回任何数据。

例子

//功能在“setup”和“loop”被执行
//但没有数据被返回到高一级的程序中
 
void setup()
{
// ...
}
 
void loop()
{
// ...
}