lowByte() \ Language (API) \ Wiring 1.0 (ALPHA)

| Index

| Reference for Wiring 1.0 (ALPHA) 0017+. 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 |  | ### lowByte
Examples |  |
    unsigned int x = 1023; // sets the word (16 bit or two bytes) variable x to 1023 (0x03FF in Hexadecimal)
    byte lb = lowByte(x);	// sets lb with the lower byte of x: 0xFF
    byte hb = highByte(x);  // sets hb with the higher byte of x: 0x03
Description |  | A word is a variable made of 16 bits (or 2 bytes). The lowByte command returns the value of the lower byte of a word
Syntax |  |
    lowByte(wordValue)
Parameters |  |
wordValue |  | unsigned int: the word (unsigned int) variable to read the lower byte from
Returns |  | byte: the lower byte of the word
Usage |  | Application
Related |  | bit() bitRead() bitWrite() highByte() makeWord()