byte

描述

一个 byte 可以储存 8-bit 的无号数,范围为 0 到 255。

范例


byte b = B10010; // "B" 代表二进制符号 (B10010 = 十进制的数字18)

See also

word
byte()
Variable Declaration


语法参考主页面

本页由热血青年 LBU 译自英文版。

The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.