makeWord() \ Language (API) \ Wiring ALPHA 1.0
Author: Hernando Barragán
Description: Wiring is an electronic sketchbook and hardware electronics for developing ideas. It is a context for learning fundamentals of computer programming and prototyping with electronics within the context of the electronic arts.
Keywords: Wiring, Processing, Interactive Media, Electronic Arts, Programming, C, C++, Hernando Barragán

Search wiring.org.co:

Reference for Wiring version 0023+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name | ### makeWord()
Examples |
    unsigned int x; // word (16 bit or two bytes) variable
    x = makeWord(0x03, 0xFF); // x is set to 0x03FF or 1023 in decimal
Description | A word is a variable made of 16 bits (or 2 bytes). The makeWord command returns the word value resulting of setting the given high and low bytes
Syntax |
    makeWord(highByte, lowByte)
Parameters |
highByte | byte: the higher byte value
lowByte | byte: the lower byte value
Returns | unsigned int: the word value resulting of setting the given high and low bytes
Usage | Application
Related | bit() bitRead() bitWrite() highByte() lowByte()

Updated on November 01, 2009 05:32:24pm PST