Arduino Programming Language: WordCast

Name

word()

Description

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

Syntax

word (x)
word (high, low)

Parameters

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

Returns

word 

Usage

Application


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc