Arduino Tutorials - How to Use Static (Pre-compiled) Libraries in Arduino
Why use pre-compiled libraries?
-
The pre-compiled library allows to share the functions of the library without exposing the source code.
-
The only limitation of pre-compiled libraries is that they are only valid for boards or MCUs that have been compiled for.
Getting Started¶
Let's take an Arduino library as example and convert it to pre-compiled library. Here I will use Seeed_Arduino_LIS3DHTR as Arduino library and Wio Terminal as board option.
STEP1. Arduino Library Configurations
Navigate to the library root path and open the library.properties
file and add the following and save the file.
0 Comments:
Post a Comment