Professional Documents
Culture Documents
bitSet()
Description
Sets (writes a 1 to) a bit of a numeric variable.
Syntax
bitSet(x, n)
Parameters
x: the numeric variable whose bit to set
n: which bit to set, 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)()
- bitClear (http://arduino.cc/en/Reference/BitClear)()
Share
NEWSLETTER
Enter your email to sign up
SUBSCRIBE
2014 Arduino
(https://twitter.com/arduino)
(https://plus.google.com/+Arduino)
(http://youtube.com/arduinoteam)
Contact us (http://arduino.cc/en/Main/ContactUs)
(http://www.facebook.com/official.arduino)
(http://www.flickr.com/photos/arduino_cc)