[Conversion]
Description
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 typeh
: the high-order (leftmost) byte of the wordl
: the low-order (rightmost) byte of the word
Returns
word
See also
- [Language] word
Language Reference Home
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.