Reference for Wiring version 0023+. 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

unsigned char

Examples
unsigned char m;      // Declare variable "m" of type char
m = 'A';     // Assign "m" the value "A"
m = 200;	 // Assign "m" the value 200
Description Datatype for characters, typographic symbols such as A, d, and $. A char stores letters and symbols in the Unicode format, a coding system developed to support a variety of world languages. Each char is one byte (8 bits) in length and is distinguished by surrounding it with single quotes. Character escapes may also stored as a char. For example, the representation for the "delete" key is '377'. The unsigned char type encodes numbers from 0 to 255.
Syntax
unsigned char var
unsigned char var = value
Parameters
var variable name referencing the value
value any character
Usage Application
Related char
byte
array
Updated on November 01, 2009 01:06:10pm PST

Creative Commons License