> For the complete documentation index, see [llms.txt](https://ubtechedu.gitbook.io/chinese/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ubtechedu.gitbook.io/chinese/arduino-language/functions/bits-and-bytes/bitread.md).

# bitRead(x,n)

读取一个数的位。

### 参数

| 参数名 | 描述                 |
| --- | ------------------ |
| x   | 想要被读取的数            |
| n   | 被读取的位，0是最低有效位（最右边） |

### 返回

| 参数名    | 描述        |
| ------ | --------- |
| number | 该位的值（0或1） |
