From 541c43e0783424b7ff31bac6abebab237011f3c6 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 10 Jul 2018 02:16:08 -0700 Subject: [PATCH 1/2] 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. --- Software/SimpleStepper.cpp => SimpleStepper.cpp | 0 Software/SimpleStepper.h => SimpleStepper.h | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename Software/SimpleStepper.cpp => SimpleStepper.cpp (100%) rename Software/SimpleStepper.h => SimpleStepper.h (100%) diff --git a/Software/SimpleStepper.cpp b/SimpleStepper.cpp similarity index 100% rename from Software/SimpleStepper.cpp rename to SimpleStepper.cpp diff --git a/Software/SimpleStepper.h b/SimpleStepper.h similarity index 100% rename from Software/SimpleStepper.h rename to SimpleStepper.h From 816e9f6912267655095d8251bd5b676d0727f98f Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 10 Jul 2018 02:16:54 -0700 Subject: [PATCH 2/2] Move example sketch to appropriately named folder This change causes the example sketch to be accessible via the Arduino IDE's File > Examples > SimpleStepper menu after the library is installed. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#library-examples --- .../control_stepper/control_stepper.ino | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename control_stepper.ino => examples/control_stepper/control_stepper.ino (100%) diff --git a/control_stepper.ino b/examples/control_stepper/control_stepper.ino similarity index 100% rename from control_stepper.ino rename to examples/control_stepper/control_stepper.ino