Hey @Leonardo,
You have an exciting setup, I am really looking forward to see it work!
What is the sensor you are using?
What is the library version you are using?
If the motor is not moving at all then most probably you have a sensor problem, did you try to output the sensory data, the motor angle for example, can you check if it updates?
Maybe the motor and the sensor are not oriented in the same direction, this you can easily overcome by switching any two motor wires.
Or you can download the developmental version of the library where @Owen_Williams has implemented auto-detection of the sensor direction. Here is the link:
In this developmental version of the library you will also find the open loop control examples. So you can try turning the motor without sensor.
You can find examples in: