.. _arduino-wordcast:

word()
======

Description
-----------

Convert a value to the
`word <http://arduino.cc/en/Reference/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
--------


-  `word <http://arduino.cc/en/Reference/Word>`_




.. include:: cc-attribution.txt