User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







arduino:bits_and_bytes:bitread

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

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
arduino/bits_and_bytes/bitread.txt · Last modified: 2024/02/16 01:04 (external edit)

Impressum Datenschutz