bitSet()

[Bits and Bytes]

説明

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

構文

bitSet(x, n)

媒介変数

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

戻り値

none

参照


Language Reference Home

86Duinoリファレンスのテキストは、Arduinoリファレンスを改変したもので、Creative Commons Attribution-ShareAlike 3.0ライセンスに基づいてライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

上部へスクロール