aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/lang/highbyte.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/lang/highbyte.rst')
-rw-r--r--docs/source/lang/highbyte.rst16
1 files changed, 11 insertions, 5 deletions
diff --git a/docs/source/lang/highbyte.rst b/docs/source/lang/highbyte.rst
index af0bfcd..50a1fa6 100644
--- a/docs/source/lang/highbyte.rst
+++ b/docs/source/lang/highbyte.rst
@@ -1,7 +1,11 @@
+.. highlight:: cpp
+
.. _lang-highbyte:
-highByte(x)
-===========
+highByte()
+==========
+
+(Macro) Extracts the second lowest byte of an integral data type.
.. warning:: This macro is provided for compatibility with Arduino
only. It returns the second-least significant byte in an integral
@@ -13,10 +17,12 @@ highByte(x)
In short: we provide this so that existing Arduino code works as
expected, but **strongly discourage its use** in new programs.
-Description
------------
+Syntax
+------
-(Macro) Extracts the second lowest byte of an integral data type.
+::
+
+ highByte(x)
Parameters
----------