Arduino Programming Language: Bit

Name

bit()

Description

The bit() command computes the value of a determined bit.

Syntax

bit(n)

Parameters

  • n: it represents the position of bit to compute

Returns

bit 

Usage

Application

Examples

int value = bit(n);        


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc