aboutsummaryrefslogtreecommitdiffstats
path: root/source/arduino/highbyte.rst
blob: dc6a1d6a4e96dea9964af2cbdbfb5ca507ce719f (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.. _arduino-highbyte:

highByte()
==========

Description
-----------

Extracts the high-order (leftmost) byte of a word (or the second
lowest byte of a larger data type).



Syntax
------

highByte(x)



Parameters
----------

x: a value of any type



Returns
-------

byte



See also
--------


-  `lowByte <http://arduino.cc/en/Reference/LowByte>`_\ ()
-  `word <http://arduino.cc/en/Reference/WordCast>`_\ ()