Using SUBLIBinal - PalouseRobosub/SUBLIBinal_AVR GitHub Wiki
Getting Started Guide
This page is designed to explain how to import SUBLIBinal_AVR into the Arduino IDE. These steps are not necessary for use within Atmel Studio. Instead, create a library project with the source and link other projects to the created library. A more in-depth explanation will be provided in the future.
Steps:
Get the Source Code
In order to use the library, you will need to either clone the repository onto your machine, or you will need to download the source code. If you aren't sure how to clone the repository, it will be much easier to simply download the source. From the main project page, click the button "Download ZIP" on the right hand side.
Run the Packaging Script
Arduino libraries are not expected to have the same file structure as SUBLIBinal. All source files and header files are expected to be within a single zip file without any subdirectories. A script has been provided to automatically place all source files into an Arduino-compatible package. Navigate to the scripts/ directory within the source code and execute the 'export_to_arduino' script. If you are not on a linux system, you will have to manually copy all the source files and header files into a zip file for the Arduino IDE.