User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







arduino:bits_and_bytes:bitset

bitSet()

Description

Sets (writes a 1 to) a bit of a numeric variable.

Syntax

bitSet(x, n)

Parameters

x: the numeric variable whose bit to set

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

Returns

none

See also

* bit() * bitRead() * bitWrite() * bitClear()

Source: arduino.cc

on the occasion of the current invasion of Russia in Ukraine

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

Impressum Datenschutz