Search wiring.org.co:

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 | ### char
Examples |
    char m;      // Declare variable "m" of type char
    m = 'A';     // Assign "m" the value "A"
    int n = '&'; // Declare variable "n" and assign it the value "&"
Description | Datatype for characters, typographic symbols such as A, d, and $. A char stores letters and symbols in the ascii format. Each char is one byte (8 bits) in length and is distinguished by surrounding it with single quotes. The char type is signed so it encodes numbers from -128 to 127.
Syntax |
    char var
    char var = value
Parameters |
var | variable name referencing the value
value | any character
Usage | Application
Related | unsigned char byte array

Updated on January 11, 2010 10:07:38pm PST