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.