# Infrared

### 1. send IR message <a href="#id-1-send-ir-message" id="id-1-send-ir-message"></a>

Send specified IR message.

![](http://docs.makeblock.com/codeyrocky/en/block-reference/images/infrared-1-1.png)

**Example:**

![](http://docs.makeblock.com/codeyrocky/en/block-reference/images/infrared-1-2.png)

Press Button A to send IR message A.

### 2. IR message received <a href="#id-2-ir-message-received" id="id-2-ir-message-received"></a>

Report the received IR message.

![](http://docs.makeblock.com/codeyrocky/en/block-reference/images/infrared-2-1.png)

### 3. record home appliances remote signal 3 secs <a href="#id-3-record-home-appliances-remote-signal-3-secs" id="id-3-record-home-appliances-remote-signal-3-secs"></a>

Record the remote signal of home appliances for 3 seconds.

![](http://docs.makeblock.com/codeyrocky/en/block-reference/images/infrared-3-1.png)

**Example:**

![](http://docs.makeblock.com/codeyrocky/en/block-reference/images/infrared-3-2.png)

Press Button A to record the remote signal of home appliances for 3 seconds.

### 4. send home appliances remote signal <a href="#id-4-send-home-appliances-remote-signal" id="id-4-send-home-appliances-remote-signal"></a>

Send recorded remote signal of home appliances.

![](http://docs.makeblock.com/codeyrocky/en/block-reference/images/infrared-4-1.png)

**Example:**

![](http://docs.makeblock.com/codeyrocky/en/block-reference/images/infrared-4-2.png)

Press Button A to send recorded remote signal of home appliances.


---

# Agent Instructions: 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://learn.pakronics.com.au/primary/codey-rocky-ai-robot/block-reference/infrared.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.
