Bit()

From Microduino Wiki
Jump to: navigation, search

bit()

  • Description

Calculate the value of the specified bit.(On bit 0 is 1, on bit 1 is 2, on bit 2 is 4, and so on).

  • Syntax

bit(n)
  • Parameter

n:The bit needs to be calculated.

  • Return

Position

[Return to Arduino Syntax Manual]