word()
Description
Converts a value to the word data type.
Syntax
word(x)
word(h, l)
(word)x (C-style type conversion)
Parameter Values
- x: a value. Allowed data types: any type.
- h: the high-order (leftmost) byte of the word.
- l: the low-order (rightmost) byte of the word.
Return Values
- Data type: word.
See Also
- Language : byte()
- Language : char()
- Language : float()
- Language : int()
- Language : long()
- Language : (unsigned int)
- Language : (unsigned long)
- Language : word
※ ARDUINO BUY RECOMMENDATION
Arduino UNO R3 | |
Arduino Starter Kit |
Disclosure: Some links in this section are Amazon affiliate links. If you make a purchase through these links, we may earn a commission at no extra cost to you.
Additionally, some links direct to products from our own brand, DIYables.
Additionally, some links direct to products from our own brand, DIYables.