> For the complete documentation index, see [llms.txt](https://learn.pakronics.com.au/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.pakronics.com.au/halocode-1/untitled.md).

# Get Started

This section includes a quick start guide to HaloCode.

**Connect HaloCode**

1\. Under "Devices", click "+" to add device.

![](/files/-Lpg0hhBNuPYrxd2Uxf9)

2\. From the pop-up Device Library page, select "HaloCode" and click "OK".

![](/files/-Lpg0hhC93vJpXYCdPqm)

**Tip:**\
☛ Click ☆ to set HaloCode as the mostly used device.\
![](/files/-Lpg0hhDWXSCJq4OgPdv)

3\. Use a micro-USB cable to connect your HaloCode to a USB port of your computer.

![](/files/-Lpg0hhEnSqVgMv7wv8z)

4\. Under "Devices", choose "HaloCode", and click "Connect".

![](/files/-Lpg0hhFeas8YxPYlpCp)

5\. The Device Connection window will pop up. The serial port of HaloCode will automatically be detected. Please click "Connect".

![](/files/-Lpg0hhGTLh3CX7T7pyq)

6\. Toggle on Upload Mode.

![](/files/-Lpg0hhH7uVizlojECfZ)

**Create a HaloCode Project**

Let's start with a simple project. When we shake HaloCode, the LED ring will light up and then go off.

1\. Drag an Events block when HaloCode is shaking to the Scripts area.

![](/files/-Lpg0hhILOJ4JXMejD8S)

2\. Add a Lighting block show () to control the LED ring of HaloCode.

![](/files/-Lpg0hhJUE9Hhy1dAM1Y)

3\. Add a Control block wait () seconds, and a Lighting block light off all the LEDs to make the LED ring go off after 1 second.

![](/files/-Lpg0hhKWPeBeMmMqjoH)

4\. Click "Upload" to upload the program to HaloCode.

![](/files/-Lpg0hhL_Re2WmqKwZ_X)

5\. Try shaking HaloCode!

![](/files/-Lpg0hhMDGKDPI-lGO48)

n
