# Feelix Arduino Library

{% hint style="info" %}
The code builds upon [**SimpleFOC** ](https://simplefoc.com)**v2.4.0** by Antun Skuric.\
[**How to install the SimpleFOC library.** ](/uploading-files/simplefoc.md#install-simplefoc-library-using-arduino-ide)
{% endhint %}

## Feelix Core Library

Download the Feelix Core Library to connect with the Feelix Design Tool.

{% file src="/files/37rFI01h3Jq61ZF9y0ex" %}
Code for Feelix MiniDriver to connect with the Feelix Design Tool
{% endfile %}

#### Upload MiniDriver v3.x Core with STM32CubeProgrammer

{% stepper %}
{% step %}

#### Select USB

Change Feelix MiniDriver to BOOT mode and press RESET button

Select USB and click Connect (green button, top-right corner)
{% endstep %}

{% step %}

#### Select File

Click **Erasing and Programming** from the left menu

Extract Feelix\_v1.3\_MiniDriver\_v3.x\_Core.ino.zip

Select **Browse** to search for: Feelix\_v1.3\_MiniDriver\_v3.x\_Core.ino.elf
{% endstep %}

{% step %}

#### Upload

Click **Start Programming**
{% endstep %}
{% endstepper %}

{% hint style="info" %}
Click [**here**](< https://www.st.com/en/development-tools/stm32cubeprog.html >) to download the STM32CubeProgrammer.
{% endhint %}

<figure><img src="/files/BcZbc1gr5iSamx3VmAWV" alt=""><figcaption><p>Upload Feelix Core with STM32CubeProgrammer</p></figcaption></figure>

#### Pneumatic Control

{% file src="/files/HJ3bFVKelDdxdBk5jmv4" %}
FeelixAir Library v4.0.0 compatible with Feelix v3.x.x
{% endfile %}

## Arduino Library for Exported Feelix Effects

After you exported effects in Feelix, you can use the FeelixEffect library to import them in your code. *You can no longer connect with Feelix when using this library.*

Want to learn about how to embed the effects in your Arduino code? \
Have a look at the [**FeelixEffect library**](/downloads/arduino-library-documentation/effect-functions.md)[ **documentation**](/downloads/arduino-library-documentation/effect-functions.md)

{% hint style="warning" %}
This library **does not work with the Feelix Design Tool.** It only allows you to import and play exported effects created in Feelix.
{% endhint %}

{% hint style="success" %}
Extract this folder and place it in the **Arduino IDE's 'libraries' directory** to access the example sketches from the File menu. Be sure to **remove any older versions** of the library first.
{% endhint %}

{% file src="/files/r8VNt6TZ8G1wUyWG4uZx" %}

{% hint style="info" %}
Follow these [**instructions**](/uploading-files/setting-up-stm32.md) when **uploading to STM32** for the first time.
{% endhint %}

## Old releases

{% content-ref url="/pages/ioUmun5TLFlMR2bENjTn" %}
[Old Library Releases](/downloads/c-library/old-library-releases.md)
{% endcontent-ref %}


---

# 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://docs.feelix.xyz/downloads/c-library.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.
