> 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/airelated/koi2/kittenblock/codescan.md).

# 二維碼與條碼檢測

### KittenBlock編程

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsN6MlwBFbL3P67FzMMyL%2Fuploads%2FlBtkQmZf7hRPlA5uAyEl%2Fimage.png?alt=media&#x26;token=7ade8de5-711c-4b0b-acba-f0bd27b83da4" alt=""><figcaption></figcaption></figure>

參考程式:

{% file src="/files/hDzYa1iyvxTwS7e64ATc" %}

#### 程式解說

1. 按A掃描二維碼，未來板會顯示二維碼的內容。
2. 按B掃描條碼，未來板會顯示條碼內容。
