User Tools

Site Tools


arduino:bits_and_bytes:bitset

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

arduino:bits_and_bytes:bitset [2013/02/15 20:45]
arduino:bits_and_bytes:bitset [2024/02/16 01:04] (current)
Line 1: Line 1:
 +======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   ====
 +
 +* [[arduino:bits and bytes:Bit]]
 +* [[arduino:bits and bytes:BitRead]]
 +* [[arduino:bits and bytes:BitWrite]]
 +* [[arduino:bits and bytes:BitClear]]
 +
 +
 +Source: arduino.cc
  

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War

Impressum Datenschutz