> 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/duckybot/instructions/wakeup.md).

# 叫醒鴨子 參考程式

### MakeCode參考程式

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

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

### 效果示範

聽到大聲時，小鴨會醒來。

<figure><img src="https://learn.kittenbot.cc/assets/images/1693219164076-97d92fc3-7b66-4cc2-bcc9-a72535dfd0b6-1c31730e7fe0fcb9b9947768256d665d.gif" alt=""><figcaption></figcaption></figure>

### 注意事項

請使用電源板供電時，請將Jacdapter的電源切換撥向上(micro:bit方向)，並且將電源板的開關撥至On。

<div><figure><img src="/files/HCmc8mAJbaZRQSaPTte1" alt=""><figcaption></figcaption></figure> <figure><img src="/files/nCxXnd2k60AdCP1Wkl1o" alt=""><figcaption></figcaption></figure></div>

<div><figure><img src="/files/AtcZLEdaWx7wsgoSuhIw" alt=""><figcaption></figcaption></figure> <figure><img src="/files/fXrCh0RELDG3cedIhmPV" alt=""><figcaption></figcaption></figure></div>


---

# 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, and the optional `goal` query parameter:

```
GET https://sharinghub.kittenbot.hk/jacdac/hardwares/duckybot/instructions/wakeup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
