# Bit()

From Microduino Wiki

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

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

Retrieved from "https://wiki.microduinoinc.com/index.php?title=Bit()&oldid=14371"

- This page was last modified on 12 August 2016, at 04:28.