aboutsummaryrefslogtreecommitdiffstats
path: root/source/arduino/bitset.rst
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@mit.edu>2010-10-25 21:15:28 -0400
committerMarti Bolivar <mbolivar@mit.edu>2010-11-17 12:44:28 -0500
commit2d429e75ce69e77f8c95490ac03881ec9aa0354a (patch)
treea3b810a6c75625b07a4b976e5d1e319c60e19a6b /source/arduino/bitset.rst
parent30ac55d80c18e93f9c39a6dd850c10f9e7fd92ac (diff)
downloadlibrambutan-2d429e75ce69e77f8c95490ac03881ec9aa0354a.tar.gz
librambutan-2d429e75ce69e77f8c95490ac03881ec9aa0354a.zip
arduino language reference nearing completion, properly CC-BY-SA 3.0 attributed
Diffstat (limited to 'source/arduino/bitset.rst')
-rw-r--r--source/arduino/bitset.rst33
1 files changed, 16 insertions, 17 deletions
diff --git a/source/arduino/bitset.rst b/source/arduino/bitset.rst
index 882ec92..adf637a 100644
--- a/source/arduino/bitset.rst
+++ b/source/arduino/bitset.rst
@@ -6,42 +6,41 @@ bitSet()
Description
-----------
-Sets (writes a 1 to) a bit of a numeric variable.
-
+(Macro) Sets (writes a 1 to) a bit of a numeric variable.
Syntax
------
-bitSet(x, n)
-
+``bitSet(x, n)``
Parameters
----------
-x: the numeric variable whose bit to set
+* **x** the numeric variable whose bit to set
+* **n** which bit to set, starting at 0 for the least-significant
+ (rightmost) bit
-n: which bit to set, starting at 0 for the least-significant
-(rightmost) bit
+Value
+-----
+None.
-Returns
--------
+Arduino Compatibility
+---------------------
-none
+The Maple implementation of bitSet is compatible with Arduino.
-
-See also
+See Also
--------
-
-- `bit <http://arduino.cc/en/Reference/Bit>`_\ ()
-- `bitRead <http://arduino.cc/en/Reference/BitRead>`_\ ()
-- `bitWrite <http://arduino.cc/en/Reference/BitWrite>`_\ ()
-- `bitClear <http://arduino.cc/en/Reference/BitClear>`_\ ()
+- :ref:`arduino-bit`
+- :ref:`arduino-bitread`
+- :ref:`arduino-bitwrite`
+- :ref:`arduino-bitclear`