Reads a bit of a number.
- x: the number from which to read.
- n: which bit to read, starting at 0 for the least-significant (rightmost) bit.
- The value of the bit (0 or 1).
The result in Serial Monitor: