Unsigned char

From Microduino Wiki
Revision as of 06:10, 18 August 2016 by Fengfeng (talk) (Created page with "unsigned char<br> *'''Description'''<br> An unsigned character occupies 1-byte memory, which is same with byte data type. <br> Unsigned char type can code numbers from 0 to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

unsigned char

  • Description

An unsigned character occupies 1-byte memory, which is same with byte data type.

Unsigned char type can code numbers from 0 to 255.

To keep the consistency of the style of Arduino program, byte type is preferred.

  • Example
    unsigned char myChar = 240;

[Return to Arduino Syntax Manual]