word()

描述

将一个数值转换成 word 资料型别或将 2 bytes 合并为 1 个 word。

语法


word(x)
word(h, l)

参数

x: 一个任意型别的数值
h: word 中的高位元组
l: word 中的低位元组

回传

word

See also

word


语法参考主页面

本页由热血青年 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.