From Microduino Wiki
Jump to: navigation, search


  • Description

Read the bit of a number.

  • Syntax

bitRead(x, n)
  • Parameter

X:the number to be read N:the bit to be read, and 0 is the lowest valid bit (the rightest)

  • Return

The value of this bit(0 or 1).

[Return to Arduino Syntax Manual]