> For the complete documentation index, see [llms.txt](https://voltbro.gitbook.io/en-vbcores/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://voltbro.gitbook.io/en-vbcores/software/arduino-ide/libraries.md).

# Libraries

\
We have prepared examples of using VBCore boards in the Arduino IDE.

## Basic VB32G4 library

The core library for VBCore VB32G4. Should be included into every Arduino sketch. Make sure the following parameters are selected in the "Tools" menu:\
\
Tools->Board->STM32 boards groups->**GenericSTM32 series**\
Tools->Board part number->**Generic G474RETx**

{% embed url="<https://github.com/VBCores/VBCoreG4_arduino_system>" %}

The library configures clocking, FDCAN peripherals, and defines user LEDs and button.

## Cyphal protocol support

We recommend to use [Cyphal](https://opencyphal.org/) over FDCAN to transfer data between hardware devices.

The following libraries will help you:

### libcxxcanard

User-friendly C++ wrapper for Cyphal.

{% embed url="<https://github.com/VBCores/libcxxcanard>" %}

### libcxxcanard-docs

libcxxcanard documentation

{% embed url="<https://github.com/VBCores/libcxxcanard-docs/tree/master?tab=readme-ov-file>" %}

## VBCore BLDC motor driver 30A

The easiest way to control BLDC in the Arduino IDE is to use the SimpleFOC library.

{% embed url="<https://github.com/simplefoc>" %}

{% embed url="<https://simplefoc.com/>" %}
