Unsigned char

From Microduino Wiki
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]