Reference Language (extended) | Libraries | Comparison
Convert a value to the word data type or create a word from two bytes.
word(x)
word(h, l)
x: a value of any type
h: the high-order (rightmost) byte of the word
l: the low-order (leftmost) byte of the word
word
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.