aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/lang/highbyte.rst
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@mit.edu>2010-11-29 01:49:26 -0500
committerMarti Bolivar <mbolivar@mit.edu>2010-11-29 01:49:26 -0500
commit078edc158da7906ba72e7e6528e1a811e07270e7 (patch)
tree1bc7b2e8137fb5ebfc7b59d59294d7adb9e95468 /docs/source/lang/highbyte.rst
parent5e587be27a7c3bd854b686952a5c9637a2432ff0 (diff)
downloadlibrambutan-078edc158da7906ba72e7e6528e1a811e07270e7.tar.gz
librambutan-078edc158da7906ba72e7e6528e1a811e07270e7.zip
Finished converting the Arduino docs
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
----------