NanitLib  1.4.3
Loading...
Searching...
No Matches
NanitLib

Appointment

The purpose of the library is to facilitate the study of the basics of C/C++ programming for microcontrollers on Nanit boards.

How to install

You can install NanitLib in several ways:

  1. Installing the library with a zip archive.
  2. Installing the library using the library manager.
  3. Installing the library using the board manager.

ZIP archive

We recommend using this method only if your PC has no internet connection and you have no other way to install the library. Be prepared to download the libraries, that NanitLib depends on, in the same way, if they are not already installed on your system. This method is not capable of downloading third-party libraries independently.

To download the ZIP of the library, you need to find it on the GitHub website

GitHub

Or follow one of the links:

  • NanitRobot – link to GitHub profile.
  • NanitLib – direct link to the repository with the library.

Profile

On the repository page, press the CODE button and select Download ZIP.

The file-saving window will open. Save the file in a place convenient for you. It doesn't have to be in the library files folder.

You can also download the file at this link

zip

After downloading and saving the file, you can close your Internet browser.

If you have access to the Internet, we recommend using the methods described below.

Open the Arduino IDE. Select the IDE version that you are using.

  • IDE 2.x First you need to start the development environment.

    IDE 2.x

    In the open environment window, select SketchAdd LibraryAdd ZIP library.

    IDE 2.x

    A file selection window will appear. Select the file you downloaded from the Internet.

    IDE 2.x

    After you click the confirmation button, the contents of the archive will be automatically extracted to the necessary directories. And you can start using the installed library.

Known issues

This installation method does not resolve library dependencies. During the compilation of the project, the development environment will display errors about the absence of certain libraries that NanitLib depends on. You will have to resolve these dependencies yourself when compiling the project.

You can avoid this in advance by downloading these libraries separately. The list of third-party libraries may change, so they are listed in a separate special file.

Library manager

Downloading through the library manager allows you to automatically download third-party libraries that NanitLib depends on, and get the latest versions of all the necessary files.

During the library installation process, the library manager will analyze the library property file and offer to install the necessary third-party libraries. You only have to agree to install the additional files.

The advantage of this method is that when you start the development environment (if you have an Internet connection) checks for updates to installed libraries and offers to update them.

We recommend agreeing to the update, as you will always have the latest version of NanitLib with new functionality.

You can install the NanitLib library in any way (download archive, clone the repository or install through the library manager).