Closed steph643 closed 2 years ago
Also, on this page, the proposed code doesn't compile under Arduino IDE:
#include "SimpleFOC.h"
#include "encoders/as5048a/MagneticSensorAS5048A.h"
What seems to be required is this:
#include "SimpleFOC.h"
#include "SimpleFOCDrivers.h"
#include "encoders/as5048a/MagneticSensorAS5048A.h"
fixed the second point in the docs.
regarding the first point, the library still has to be made "official"... fixing the documentation errors is a good first step so thank you very much for the feedback!
1. It seems the library cannot be installed through the Arduino IDE Library Manager. The doc says:
But no "Simple FOC drivers" library can be found this way.
2. When installing the library manually from Github, the doc says:
But the library doesn't appear in
File > Examples
. It appears inSketch > Include Library
though.