aboutsummaryrefslogtreecommitdiffstats
path: root/source/arduino/highbyte.rst
diff options
context:
space:
mode:
Diffstat (limited to 'source/arduino/highbyte.rst')
-rw-r--r--source/arduino/highbyte.rst42
1 files changed, 42 insertions, 0 deletions
diff --git a/source/arduino/highbyte.rst b/source/arduino/highbyte.rst
new file mode 100644
index 0000000..dc6a1d6
--- /dev/null
+++ b/source/arduino/highbyte.rst
@@ -0,0 +1,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>`_\ ()
+
+