> For the complete documentation index, see [llms.txt](https://sharinghub.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub.kittenbot.hk/jacdac/hardwares/starterkita/rotary.md).

# Jacdac旋鈕鍵

<br>

<figure><img src="https://kittenbothk.readthedocs.io/en/latest/_images/rotary1.png" alt=""><figcaption></figcaption></figure>

這是一個旋鈕鍵，它的旋轉沒有限制，而且支援的數值是無限。模組亦帶有按鍵可以使用。

### 產品參數

![](https://kittenbothk.readthedocs.io/en/latest/_images/rotary2.png)

### 連接教學

![](https://kittenbothk.readthedocs.io/en/latest/_images/button31.png)

### MakeCode編程教學

![](https://kittenbothk.readthedocs.io/en/latest/_images/mcbanner16.png)

#### 參考程式

{% embed url="<https://makecode.microbit.org/_W0aJ6eaJtdyo>" %}

按下按鍵Micro:bit會顯示旋鈕值。

[參考程式](https://makecode.microbit.org/_W0aJ6eaJtdyo)
