For those willing to experiment and to modify the code I suggest using the minimal code version.
NoteThis code is completely independent and you can run it as any other Arduino Sketch without the need for any libraries.
This version of the code you can access directly using github interface.
- Go to minimal branch.
- Download the code by clicking on the
Clone or Download > Download ZIP.
- Open the terminal:
cd *to you desired directory* git clone -b minimal https://github.com/simplefoc/Arduino-FOC.git
Once you have downloaded the code just follow the tutorial in the readme file of the minimal branch to chose only the files you need for your project or just use one of the provided example projects.