Framework (A-Z)

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


unsigned char

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 ascii format. 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. The unsigned char type encodes numbers from 0 to 255.
unsigned char var
unsigned char var = value
var variable name referencing the value
value any character
Usage Application
Related char
Updated on July 07, 2011 11:09:19pm PDT

Creative Commons License