unsigned char

An unsigned version of the char data type. An unsigned char occupies 1 byte of memory; it stores an integer from 0 to 255.

Like an unsigned int, an unsigned char won’t store negative numbers; it is also subject to the same overflow issues as any integral data type.


unsigned char c = 240;

See Also

License and Attribution

Portions of this page were adapted from the Arduino Reference Documentation, which is released under a Creative Commons Attribution-ShareAlike 3.0 License.