aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/lang/api/lowbyte.rst
blob: c513711a7a8f3269e45cd7ec420c1cc6d0d3b31c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.. _lang-lowbyte:

lowByte()
=========

Extracts the low-order (rightmost) byte of a variable (e.g. a
word).

Syntax
------

lowByte(x)

Parameters
----------

**x**: a value of any type.  However, if a non-integral type is used,
the results will be strange.

Returns
-------

The low byte's value (this will be between 0 and 255).

.. include:: /arduino-cc-attribution.txt