User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







arduino:bits_and_bytes:bitwrite

bitWrite()

Description

Writes a bit of a numeric variable.

Syntax

bitWrite(x, n, b)

Parameters

x: the numeric variable to which to write

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

b: the value to write to the bit (0 or 1)

Returns

none

See also

* bit() * bitRead() * bitSet() * bitClear()

Source: arduino.cc

on the occasion of the current invasion of Russia in Ukraine

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

Impressum Datenschutz