aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitee35f641687d0d3159c15eea5ad80d71efff4f82 (patch)
treed58e470a42623a1fba3eccbab324a26316d60398 /source/lang/highbyte.rst
parentd9cbd78e29d42e70bb46641dd43ee0772c8c975f (diff)
downloadlibrambutan-ee35f641687d0d3159c15eea5ad80d71efff4f82.tar.gz
librambutan-ee35f641687d0d3159c15eea5ad80d71efff4f82.zip
Finished converting the Arduino docs
Diffstat (limited to 'source/lang/highbyte.rst')
-rw-r--r--source/lang/highbyte.rst16
1 files changed, 11 insertions, 5 deletions
diff --git a/source/lang/highbyte.rst b/source/lang/highbyte.rst
index af0bfcd..50a1fa6 100644
--- a/source/lang/highbyte.rst
+++ b/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
----------