From ba20836d94e582a2d8420d9ce0252acbb8d6f845 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 10 Jul 2018 16:37:00 -0700 Subject: [PATCH] Move example sketch to appropriately named folder This change causes the example sketch to be accessible via the Arduino IDE's File > Examples > Arduino_LCD_Menu menu after the library is installed. The Arduino IDE does recognize example sketches in the root of the library folder when their filename matches the folder name and this example filename does match the repository name. However, GitHub names the folder in the .zip file attained via Clone or Download > Download ZIP by appending the branch name to the repository name so this causes a name mismatch and the example sketch to not be recognized in its previous location. The Arduino Library specification says that examples sketches should be stored under the examples folder so there is no guarantee that example sketches stored outside of that location will continue to be recognized Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#library-examples --- .../Arduino_LCD_Menu/Arduino_LCD_Menu.ino | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Arduino_LCD_Menu.ino => examples/Arduino_LCD_Menu/Arduino_LCD_Menu.ino (100%) diff --git a/Arduino_LCD_Menu.ino b/examples/Arduino_LCD_Menu/Arduino_LCD_Menu.ino similarity index 100% rename from Arduino_LCD_Menu.ino rename to examples/Arduino_LCD_Menu/Arduino_LCD_Menu.ino