From 96483796d7baaa655452f649be9465241ad98516 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sat, 25 May 2019 02:01:20 -0700 Subject: [PATCH 1/2] Move library to root of repository A popular library installation technique is to download the .zip files of the library GitHub generates (Clone or download > Download ZIP or the Releases page) 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. --- pwmTest/Timer1Fast.cpp => Timer1Fast.cpp | 0 pwmTest/Timer1Fast.h => Timer1Fast.h | 0 pwmTest/inspector.h => inspector.h | 0 pwmTest/repeatEvery.h => repeatEvery.h | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename pwmTest/Timer1Fast.cpp => Timer1Fast.cpp (100%) rename pwmTest/Timer1Fast.h => Timer1Fast.h (100%) rename pwmTest/inspector.h => inspector.h (100%) rename pwmTest/repeatEvery.h => repeatEvery.h (100%) diff --git a/pwmTest/Timer1Fast.cpp b/Timer1Fast.cpp similarity index 100% rename from pwmTest/Timer1Fast.cpp rename to Timer1Fast.cpp diff --git a/pwmTest/Timer1Fast.h b/Timer1Fast.h similarity index 100% rename from pwmTest/Timer1Fast.h rename to Timer1Fast.h diff --git a/pwmTest/inspector.h b/inspector.h similarity index 100% rename from pwmTest/inspector.h rename to inspector.h diff --git a/pwmTest/repeatEvery.h b/repeatEvery.h similarity index 100% rename from pwmTest/repeatEvery.h rename to repeatEvery.h From d387b615fb9fa793a603011ed5930b0dbf959772 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sat, 25 May 2019 02:02:20 -0700 Subject: [PATCH 2/2] Move example sketch to examples folder The Arduino Library specification says that example sketches should be stored under the examples folder. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#library-examples --- {pwmTest => examples/pwmTest}/pwmTest.ino | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {pwmTest => examples/pwmTest}/pwmTest.ino (100%) diff --git a/pwmTest/pwmTest.ino b/examples/pwmTest/pwmTest.ino similarity index 100% rename from pwmTest/pwmTest.ino rename to examples/pwmTest/pwmTest.ino