BitSet()

From Microduino Wiki
Revision as of 04:35, 12 August 2016 by Fengfeng (talk) (Created page with "bitSet() *'''Description''' Set a bit to a numerical variable. *'''Syntax''' <pre style="color:green"> bitSet(x, n) </pre> *'''Parameter''' X:the numerical variable to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

bitSet()

  • Description

Set a bit to a numerical variable.

  • Syntax

bitSet(x, n)
  • Parameter

X:the numerical variable to be set N:the bit to be set, and 0 is the most important ( rightest) bit.

  • Return

No

[Return to Arduino Syntax Manual]