From 4a688faf8308e447d90876bc10b4d363e0bd2325 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sat, 7 Jul 2018 02:02:56 -0700 Subject: [PATCH] Move library to root of repository A popular library installation technique is to download the library via GitHub's Clone or download > Download ZIP and then use the Arduino IDE's Sketch > Include Library > Add .ZIP Library on the downloaded file. This requires the library to be in the root of the repository, not in a subfolder. If the library is not in the root of the repository this installation technique fails: Specified folder/zip file does not contain a valid library This is the standard repository structure used in all official Arduino libraries: https://github.com/arduino-libraries This move is also required if you wanted to add your library to the Arduino Library Manager index, which provides an even easier installation option. --- libraries/LTC4622G/LTC4622G.cpp => LTC4622G.cpp | 0 libraries/LTC4622G/LTC4622G.h => LTC4622G.h | 0 {libraries/LTC4622G/examples => examples}/simple/simple.ino | 0 libraries/LTC4622G/keywords.txt => keywords.txt | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename libraries/LTC4622G/LTC4622G.cpp => LTC4622G.cpp (100%) rename libraries/LTC4622G/LTC4622G.h => LTC4622G.h (100%) rename {libraries/LTC4622G/examples => examples}/simple/simple.ino (100%) rename libraries/LTC4622G/keywords.txt => keywords.txt (100%) diff --git a/libraries/LTC4622G/LTC4622G.cpp b/LTC4622G.cpp similarity index 100% rename from libraries/LTC4622G/LTC4622G.cpp rename to LTC4622G.cpp diff --git a/libraries/LTC4622G/LTC4622G.h b/LTC4622G.h similarity index 100% rename from libraries/LTC4622G/LTC4622G.h rename to LTC4622G.h diff --git a/libraries/LTC4622G/examples/simple/simple.ino b/examples/simple/simple.ino similarity index 100% rename from libraries/LTC4622G/examples/simple/simple.ino rename to examples/simple/simple.ino diff --git a/libraries/LTC4622G/keywords.txt b/keywords.txt similarity index 100% rename from libraries/LTC4622G/keywords.txt rename to keywords.txt