word()

[Conversion]

説明

Convert a value to the word data type or create a word from two bytes.

Syntax

word(x)
word(h, l)

Parameters

x: a value of any type
h: the high-order (leftmost) byte of the word
l: the low-order (rightmost) byte of the word

Returns

word

See also


Language Reference Home

86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

コメントする

上部へスクロール