Bit()

From Microduino Wiki
Revision as of 04:28, 12 August 2016 by Fengfeng (talk) (Created page with "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''' <pre style="color:green"> bit(...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]