Arduino Library Manager Tutorial
From Waveshare Wiki
Install Library
The Arduino IDE library manager is used to manage the driver library that the demo calls, and we will provide a corresponding driver library for each ESP32 board, so you can choose the appropriate installation method according to your case.
Install Online
The following is an example of installing Adafruit NeoMatrix, if you install library, the operation steps are similar.
- Open Arduino IDE:
①. Select LIBRARY MANAGER in the sidebar;
②. Enter the name of the library you want to install Adafruit NeoMatrix in the search box;
③. Select the library version in the box. If there are no special requirements, default to the latest version. Click on INSTALL.
When installing the library, if prompted to install other dependent libraries, please click "Install All". Otherwise, it may cause some demos or programs to fail to compile properly.
- After clicking Install,
①. The software window displays the installation progress of the library;
②. After installation, the status of the library will be x.x.x version installed.
Note: If you need to uninstall a library, find the corresponding library, click "REMOVE" in the box, and wait for the uninstallation to complete.
Install Offline
The following is an example of installing the library required by "ESP32-S3-ETH-Demo", if you install other library, the operation steps are similar.
- Copy the library files provided by Waveshare to the libraries folder in the project folder
- Where waveshrare is the user name, the user name varies from person to person
- If there is no "libraries" folder in the project folder directory, you need to create this folder and make sure the name is correct, and the subsequent library files will be stored here
- When copying the library, be sure to clean or migrate any other libraries in the directory first to avoid replacement or library conflicts
- The project folder path can be viewed under
File
->preferences
->Sketchbook location