Char()

From Microduino Wiki
Revision as of 02:59, 22 August 2016 by Fengfeng (talk) (Created page with "Unsigned char<br> *'''Description'''<br> An unsigned character takes 1-byte memory, same with byte type. <br> Unsigned char can code the numbers from 0 to 255.<br> To keep...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Unsigned char

  • Description

An unsigned character takes 1-byte memory, same with byte type.

Unsigned char can code the numbers from 0 to 255.

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

  • Example
    unsigned char myChar = 240;

[Return to Arduino Syntax Manual]