> 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/primary/codey-rocky-ai-robot/tutorials/neuron-blocks.md).

# Neuron Blocks

Take your imagination a step further with Neuron. The Neuron system includes 30 electronic blocks, from light sensor, infrared sensor, to humidity sensor. Connect your Codey to Neuron to explore more fun.

## Add Neuron Blocks

### 1. Make sure "Codey" is selected and click "+" in the Blocks area.

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-05-11-20-12.png)

### 2. From the pop-up Extension Center page, click "+" to add Neuron blocks.

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-05-11-38-06.png)

### 3. Go back to Edit Page, you can find Neuron category added to the block palette.

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-05-11-38-46.png)

## Have Some Fun

Let's try out the new Neuron Blocks. We will use the LED Strip of the Neuron system to make a simple project.

### 1. Connect the LED Strip to Codey.

### 2. Drag a when button () is pressed block from the Events category to the Scripts area.

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-05-17-04-40.png)

### 3. Drag a LED Strip () lights up () block from the Neuron category. Set the colors of all LEDs as repeating sequences.

&#x20;

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-05-17-12-42.png)

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-05-17-13-04.png)

### 4. Click "Upload" to upload the program to Codey.

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-05-17-13-49.png)

### 5. Press button A and check how the LED strip lights up.


---

# 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://learn.pakronics.com.au/primary/codey-rocky-ai-robot/tutorials/neuron-blocks.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.
