aboutsummaryrefslogtreecommitdiffstats
path: root/source/arduino/bitclear.rst
diff options
context:
space:
mode:
Diffstat (limited to 'source/arduino/bitclear.rst')
-rw-r--r--source/arduino/bitclear.rst48
1 files changed, 48 insertions, 0 deletions
diff --git a/source/arduino/bitclear.rst b/source/arduino/bitclear.rst
new file mode 100644
index 0000000..e86dbc5
--- /dev/null
+++ b/source/arduino/bitclear.rst
@@ -0,0 +1,48 @@
+.. _arduino-bitclear:
+
+bitClear()
+==========
+
+Description
+-----------
+
+Clears (writes a 0 to) a bit of a numeric variable.
+
+
+
+Syntax
+------
+
+bitClear(x, n)
+
+
+
+Parameters
+----------
+
+x: the numeric variable whose bit to clear
+
+
+
+n: which bit to clear, starting at 0 for the least-significant
+(rightmost) bit
+
+
+
+Returns
+-------
+
+none
+
+
+
+See also
+--------
+
+
+- `bit <http://arduino.cc/en/Reference/Bit>`_\ ()
+- `bitRead <http://arduino.cc/en/Reference/BitRead>`_\ ()
+- `bitWrite <http://arduino.cc/en/Reference/BitWrite>`_\ ()
+- `bitSet <http://arduino.cc/en/Reference/BitSet>`_\ ()
+
+