# Make a Smiling Face with the LED Ring

**Programming Result**

![](/files/-Lpg6FFFFl-Ncwy5asw-)

**LED ID of HaloCode**

The 12 LEDs of HaloCode share the same position as the twelve hours of a clock.

![](/files/-Lpg6FFGbESRK92bT7Ro)

**Program the "eyes"**

1\. Drag two Lighting blocks light up LED () with color R() G() B() to the Scripts area. Set the LED ID to "2", and "10".

![](/files/-Lpg6FFHWoGPz2XS9hlm)

**Program the "mouth"**

2\. Add 5 Lighting blocks light up LED () with color R() G() B() to the Scripts area. Set the LED ID to "4", "5", "6", "7", and "8" respectively.

3\. Add an Events block when button is pressed.

![](/files/-Lpg6FFIaLUDsPCk7Vnx)

4\. Press the button and check HaloCode's smiling face.


---

# 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/halocode-1/code-with-mu-a-simple-python-editor/examples/basic-project/make-a-smiling-face-with-the-led-ring.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.
