Framework (A-Z)

Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.

Name

void

Examples
void setup() {
  pinMode(8, OUTPUT);
}

void loop() {
  digitalWrite(8, HIGH);
}
Description Keyword used indicate a function returns no value. Each function must either return a value of a specific datatype or use the keyword void to specify the function returns nothing.
Syntax
void function {
  statements
}
Parameters
function any function that is being defined or implemented
statements any valid statements
Usage Application
Updated on July 07, 2011 11:09:31pm PDT

Creative Commons License