User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







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

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

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

Impressum