This shows you the differences between two versions of the page.
arduino:bits_and_bytes:bitclear [2013/02/15 20:45] |
arduino:bits_and_bytes:bitclear [2024/02/16 01:04] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======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 ==== | ||
+ | |||
+ | * [[arduino:bits and bytes:Bit]] | ||
+ | * [[arduino:bits and bytes:BitRead]] | ||
+ | * [[arduino:bits and bytes:BitWrite]] | ||
+ | * [[arduino:bits and bytes:BitSet]] | ||
+ | |||
+ | |||
+ | Source: arduino.cc | ||