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

Name

// (comment)

Examples
// Initializes pin 0 as OUTPUT
// Sets pin 0 HIGH
pinMode(0, OUTPUT);      // Sets pin 0 as OUTPUT 
idigitalWrite(0, HIGH);  // Sets pin 0 HIGH
Description Explanatory notes embedded within the code. Comments are used to remind yourself and to inform others about the function of your program. Single-line comments are signified with the // characters. Comments are ignored by the compiler.
Syntax
// comment
Parameters
comment any sequence of characters
Usage Web & Application
Related /* */ (multiline comment)
Updated on February 23, 2004 03:06:30pm PST

Creative Commons License