> 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/standard/onborad/buzzer/notone.md).

# noTone(pin)

### 参数

| 参数名 | 类型            | 描述                                       |
| --- | ------------- | ---------------------------------------- |
| pin | unsigned char | 蜂鸣器引脚，uKitExplore v1为43，uKitExplorev2为38 |

### 例子

用uKitExplore v1板子控制板载蜂鸣器循环发131Hz声音，持续400ms，关闭蜂鸣器400ms：

```c
#include "uKitExplore2.h"
void setup() {
    Initialization();

}
void loop() {
    tone(131,400);
    noTone(43);
    delay(400);
    
}
```

用uKitExplore v2板子控制板载蜂鸣器循环发131Hz声音，持续400ms，关闭蜂鸣器400ms：

```c
#include "uKitExplore2.h"
void setup() {
    Initialization();

}
void loop() {
    tone(131,400);
    noTone(38);
    delay(400);
    
}
```
