From 5ef8a922f357beda03dbb5d9e5def04818c23239 Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 6 Jul 2018 23:32:44 -0700 Subject: [PATCH 1/3] Correct filename in example sketch --- LCD16d2.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LCD16d2.ino b/LCD16d2.ino index 0685a73..6b3c96c 100644 --- a/LCD16d2.ino +++ b/LCD16d2.ino @@ -1,4 +1,4 @@ -#include +#include void setup() { pinMode(12,OUTPUT); From ec0e33f5582c52728607888562eafaec01f477e1 Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 6 Jul 2018 23:33:14 -0700 Subject: [PATCH 2/3] Move example sketch to appropriately named folder This change causes the example sketch to be accessible via the Arduino IDE's File > Examples > LCD16d2 menu after the library is installed. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#library-examples --- LCD16d2.ino => LCD16d2/examples/LCD16d2/LCD16d2.ino | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename LCD16d2.ino => LCD16d2/examples/LCD16d2/LCD16d2.ino (100%) diff --git a/LCD16d2.ino b/LCD16d2/examples/LCD16d2/LCD16d2.ino similarity index 100% rename from LCD16d2.ino rename to LCD16d2/examples/LCD16d2/LCD16d2.ino From ed1594d34df6425117d10cd42b600c35757d0ba3 Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 6 Jul 2018 23:34:01 -0700 Subject: [PATCH 3/3] Delete duplicate file This file is an exact duplicate of LCD16d2.ino so it serves no purpose. --- LCD16d2/examples/basic_string.cpp | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 LCD16d2/examples/basic_string.cpp diff --git a/LCD16d2/examples/basic_string.cpp b/LCD16d2/examples/basic_string.cpp deleted file mode 100644 index 6b3c96c..0000000 --- a/LCD16d2/examples/basic_string.cpp +++ /dev/null @@ -1,20 +0,0 @@ -#include - -void setup() { - pinMode(12,OUTPUT); - pinMode(11,OUTPUT); - pinMode(0,OUTPUT); - pinMode(1,OUTPUT); - pinMode(2,OUTPUT); - pinMode(3,OUTPUT); - pinMode(4,OUTPUT); - pinMode(5,OUTPUT); - pinMode(6,OUTPUT); - pinMode(7,OUTPUT); - Init(); - Write_String("Bigger than 8ddd"); -} - -void loop() { - -}