From 0edeceb90c26105765063eb36209e435322a000a Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 7 Jan 2018 21:00:53 -0800 Subject: [PATCH] Move sketch to an appropriately named folder The Arduino IDE requires that a sketch be located in a folder of the same name. When opening a file that does not meet this requirement the Arduino IDE presents a dialog: The file "DevilRemote.ino" needs to be inside a sketch folder named "DevilRemote". Create this folder, move the file, and continue? After clicking "OK" the Arduino IDE currently moves only the file DevilRemote.ino to the new folder, leaving behind the other sketch files. This causes compilation of the sketch to fail "fatal error: default_config.h: No such file or directory". Although the repository name does match the sketch name, it is common for people to use GitHub's "Clone or Download > Download ZIP" feature to download sketches, rather than doing a Git clone, and GitHub appends the branch/tag/commit to the downloaded folder name, which will cause the folder to still not match the sketch name. --- ArduinoOTA.ino => DevilRemote/ArduinoOTA.ino | 0 DevilRemote.ino => DevilRemote/DevilRemote.ino | 0 FastLED.ino => DevilRemote/FastLED.ino | 0 MQTT.ino => DevilRemote/MQTT.ino | 0 Maintanance.ino => DevilRemote/Maintanance.ino | 0 RotaryEncoder.ino => DevilRemote/RotaryEncoder.ino | 0 Sensor_SingleDallas.ino => DevilRemote/Sensor_SingleDallas.ino | 0 VolumeHandler.ino => DevilRemote/VolumeHandler.ino | 0 VolumeSync.ino => DevilRemote/VolumeSync.ino | 0 WiFi.ino => DevilRemote/WiFi.ino | 0 default_config.h => DevilRemote/default_config.h | 0 handy_functions.h => DevilRemote/handy_functions.h | 0 12 files changed, 0 insertions(+), 0 deletions(-) rename ArduinoOTA.ino => DevilRemote/ArduinoOTA.ino (100%) rename DevilRemote.ino => DevilRemote/DevilRemote.ino (100%) rename FastLED.ino => DevilRemote/FastLED.ino (100%) rename MQTT.ino => DevilRemote/MQTT.ino (100%) rename Maintanance.ino => DevilRemote/Maintanance.ino (100%) rename RotaryEncoder.ino => DevilRemote/RotaryEncoder.ino (100%) rename Sensor_SingleDallas.ino => DevilRemote/Sensor_SingleDallas.ino (100%) rename VolumeHandler.ino => DevilRemote/VolumeHandler.ino (100%) rename VolumeSync.ino => DevilRemote/VolumeSync.ino (100%) rename WiFi.ino => DevilRemote/WiFi.ino (100%) rename default_config.h => DevilRemote/default_config.h (100%) rename handy_functions.h => DevilRemote/handy_functions.h (100%) diff --git a/ArduinoOTA.ino b/DevilRemote/ArduinoOTA.ino similarity index 100% rename from ArduinoOTA.ino rename to DevilRemote/ArduinoOTA.ino diff --git a/DevilRemote.ino b/DevilRemote/DevilRemote.ino similarity index 100% rename from DevilRemote.ino rename to DevilRemote/DevilRemote.ino diff --git a/FastLED.ino b/DevilRemote/FastLED.ino similarity index 100% rename from FastLED.ino rename to DevilRemote/FastLED.ino diff --git a/MQTT.ino b/DevilRemote/MQTT.ino similarity index 100% rename from MQTT.ino rename to DevilRemote/MQTT.ino diff --git a/Maintanance.ino b/DevilRemote/Maintanance.ino similarity index 100% rename from Maintanance.ino rename to DevilRemote/Maintanance.ino diff --git a/RotaryEncoder.ino b/DevilRemote/RotaryEncoder.ino similarity index 100% rename from RotaryEncoder.ino rename to DevilRemote/RotaryEncoder.ino diff --git a/Sensor_SingleDallas.ino b/DevilRemote/Sensor_SingleDallas.ino similarity index 100% rename from Sensor_SingleDallas.ino rename to DevilRemote/Sensor_SingleDallas.ino diff --git a/VolumeHandler.ino b/DevilRemote/VolumeHandler.ino similarity index 100% rename from VolumeHandler.ino rename to DevilRemote/VolumeHandler.ino diff --git a/VolumeSync.ino b/DevilRemote/VolumeSync.ino similarity index 100% rename from VolumeSync.ino rename to DevilRemote/VolumeSync.ino diff --git a/WiFi.ino b/DevilRemote/WiFi.ino similarity index 100% rename from WiFi.ino rename to DevilRemote/WiFi.ino diff --git a/default_config.h b/DevilRemote/default_config.h similarity index 100% rename from default_config.h rename to DevilRemote/default_config.h diff --git a/handy_functions.h b/DevilRemote/handy_functions.h similarity index 100% rename from handy_functions.h rename to DevilRemote/handy_functions.h