Reference for Wiring version 0027+. 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 September 16, 2010 09:17:10pm PDT

Creative Commons License