mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-02-06 23:41:53 +08:00
Created arduino_enums_template.j2 to generate header file containing enums for arduino. Added the header file to Arduino/ODriveArduino/enums.h. This replaces the hardcoded enum defined inside the ODriveArduino class.
ODriveArduino
Arduino library for the ODrive
To install the library, first clone this repository. In the Arduino IDE select: Sketch -> Include Library -> Add .ZIP Library...
Select the enclosing folder (e.g. ODriveArduino) to add it. Restarting the Arduino IDE may be necessary to see the examples in the File dropdown. Check the included example ODriveArduinoTest for basic usage.