Boards
Reference
Lessons
About
Contact
More
05 Bit Operations
Reads or Writes a bit of a number.
bitRead(x, n)
bitWrite(x, n)
x: the number from which to read.
n: which bit to read/write, starting at the least-significant
Returns (value)
The value of the bit (0 or 1).