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

true

Examples
boolean b = true;
if(b == true) {
  digitalWrite(48, HIGH);  // Turn ON the I/O board LED 
} else {
  digitalWrite(48, HIGH); 
}
Description Reserved word representing the logical value "true". Only variables of type boolean may be assigned the value true
Syntax
false
Usage Application
Related false
boolean
Updated on November 01, 2009 01:06:35pm PST

Creative Commons License