User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







arduino:bits_and_bytes:bitread
click
to support this page (eg 0,42 € or so) Thanks.

bitRead()

Description

Reads a bit of a number.

Syntax

bitRead(x, n)

Parameters

x: the number from which to read

n: which bit to read, starting at 0 for the least-significant (rightmost) bit

Returns

the value of the bit (0 or 1).

See also

* bit() * bitWrite() * bitSet() * bitClear()

Source: arduino.cc

advertising
arduino/bits_and_bytes/bitread.txt · Last modified: 2013/02/15 20:45 (external edit)

Impressum