サイト内検索

検索

Shares

Table of Content

bitWrite()

[Bits and Bytes]

説明

Writes a bit of a numeric variable.

構文

bitWrite(x, n, b)

媒介変数

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)

戻り値

none

See also


Language Reference Home

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

上部へスクロール