> 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/kits/inventorkit/microbit-fa-ming-jia-tao-jian-koi-2-sheng-ji-an-li/kou-zhao-zhen-ce-zha-men.md).

# 口罩偵測閘門

![](/files/ImYhbCLbDgTIaY8LNDkx)

### 組裝說明書下載

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

![](/files/CySG4n5801N6LoAdss4H)

### 參考程式

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

[參考程式下載](https://makecode.microbit.org/_X3AJJJRpdE88)

### 模型玩法

將人面對準KOI鏡頭面前按下A鍵辨認。

假如人面有佩戴口罩，模型就會打開閘門。

假如人面沒有佩戴口罩，模型就會亮紅燈示意不可內進。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sharinghub.kittenbot.hk/kits/inventorkit/microbit-fa-ming-jia-tao-jian-koi-2-sheng-ji-an-li/kou-zhao-zhen-ce-zha-men.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
