From 67231759703879d219bcce54d989ce3b87198aab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Thu, 26 May 2016 23:27:31 +0200 Subject: [PATCH] Project folder refactoring --- .travis.yml => code/.travis.yml | 0 {arduino => code/arduino}/code/code.ino | 0 {arduino => code/arduino}/code/data | 0 {data => code/data}/index.css | 0 {data => code/data}/index.html | 0 {data => code/data}/jquery-1.12.3.min.js | 0 {lib => code/lib}/ArduinoOTA/ArduinoOTA.cpp | 0 {lib => code/lib}/ArduinoOTA/ArduinoOTA.h | 0 {lib => code/lib}/ArduinoOTA/examples/BasicOTA/BasicOTA.ino | 0 {lib => code/lib}/ArduinoOTA/examples/OTALeds/OTALeds.ino | 0 {lib => code/lib}/ArduinoOTA/keywords.txt | 0 {lib => code/lib}/ArduinoOTA/library.properties | 0 {lib => code/lib}/DebounceEvent/DebounceEvent.cpp | 0 {lib => code/lib}/DebounceEvent/DebounceEvent.h | 0 {lib => code/lib}/RemoteSwitch/RemoteReceiver.cpp | 0 {lib => code/lib}/RemoteSwitch/RemoteReceiver.h | 0 {lib => code/lib}/RemoteSwitch/RemoteSwitch.cpp | 0 {lib => code/lib}/RemoteSwitch/RemoteSwitch.h | 0 .../lib}/RemoteSwitch/examples/Light_show/Light_show.pde | 0 .../examples/Remote_translator/Remote_translator.pde | 0 .../lib}/RemoteSwitch/examples/Retransmitter/Retransmitter.pde | 0 .../examples/Show_received_code/Show_received_code.pde | 0 {lib => code/lib}/RemoteSwitch/keywords.txt | 0 {lib => code/lib}/RemoteSwitch/license.txt | 0 {lib => code/lib}/readme.txt | 0 platformio.ini => code/platformio.ini | 0 {src => code/src}/code.ino | 3 +-- 27 files changed, 1 insertion(+), 2 deletions(-) rename .travis.yml => code/.travis.yml (100%) rename {arduino => code/arduino}/code/code.ino (100%) rename {arduino => code/arduino}/code/data (100%) rename {data => code/data}/index.css (100%) rename {data => code/data}/index.html (100%) rename {data => code/data}/jquery-1.12.3.min.js (100%) rename {lib => code/lib}/ArduinoOTA/ArduinoOTA.cpp (100%) rename {lib => code/lib}/ArduinoOTA/ArduinoOTA.h (100%) rename {lib => code/lib}/ArduinoOTA/examples/BasicOTA/BasicOTA.ino (100%) rename {lib => code/lib}/ArduinoOTA/examples/OTALeds/OTALeds.ino (100%) rename {lib => code/lib}/ArduinoOTA/keywords.txt (100%) rename {lib => code/lib}/ArduinoOTA/library.properties (100%) rename {lib => code/lib}/DebounceEvent/DebounceEvent.cpp (100%) rename {lib => code/lib}/DebounceEvent/DebounceEvent.h (100%) rename {lib => code/lib}/RemoteSwitch/RemoteReceiver.cpp (100%) rename {lib => code/lib}/RemoteSwitch/RemoteReceiver.h (100%) rename {lib => code/lib}/RemoteSwitch/RemoteSwitch.cpp (100%) rename {lib => code/lib}/RemoteSwitch/RemoteSwitch.h (100%) rename {lib => code/lib}/RemoteSwitch/examples/Light_show/Light_show.pde (100%) rename {lib => code/lib}/RemoteSwitch/examples/Remote_translator/Remote_translator.pde (100%) rename {lib => code/lib}/RemoteSwitch/examples/Retransmitter/Retransmitter.pde (100%) rename {lib => code/lib}/RemoteSwitch/examples/Show_received_code/Show_received_code.pde (100%) rename {lib => code/lib}/RemoteSwitch/keywords.txt (100%) rename {lib => code/lib}/RemoteSwitch/license.txt (100%) rename {lib => code/lib}/readme.txt (100%) rename platformio.ini => code/platformio.ini (100%) rename {src => code/src}/code.ino (99%) diff --git a/.travis.yml b/code/.travis.yml similarity index 100% rename from .travis.yml rename to code/.travis.yml diff --git a/arduino/code/code.ino b/code/arduino/code/code.ino similarity index 100% rename from arduino/code/code.ino rename to code/arduino/code/code.ino diff --git a/arduino/code/data b/code/arduino/code/data similarity index 100% rename from arduino/code/data rename to code/arduino/code/data diff --git a/data/index.css b/code/data/index.css similarity index 100% rename from data/index.css rename to code/data/index.css diff --git a/data/index.html b/code/data/index.html similarity index 100% rename from data/index.html rename to code/data/index.html diff --git a/data/jquery-1.12.3.min.js b/code/data/jquery-1.12.3.min.js similarity index 100% rename from data/jquery-1.12.3.min.js rename to code/data/jquery-1.12.3.min.js diff --git a/lib/ArduinoOTA/ArduinoOTA.cpp b/code/lib/ArduinoOTA/ArduinoOTA.cpp similarity index 100% rename from lib/ArduinoOTA/ArduinoOTA.cpp rename to code/lib/ArduinoOTA/ArduinoOTA.cpp diff --git a/lib/ArduinoOTA/ArduinoOTA.h b/code/lib/ArduinoOTA/ArduinoOTA.h similarity index 100% rename from lib/ArduinoOTA/ArduinoOTA.h rename to code/lib/ArduinoOTA/ArduinoOTA.h diff --git a/lib/ArduinoOTA/examples/BasicOTA/BasicOTA.ino b/code/lib/ArduinoOTA/examples/BasicOTA/BasicOTA.ino similarity index 100% rename from lib/ArduinoOTA/examples/BasicOTA/BasicOTA.ino rename to code/lib/ArduinoOTA/examples/BasicOTA/BasicOTA.ino diff --git a/lib/ArduinoOTA/examples/OTALeds/OTALeds.ino b/code/lib/ArduinoOTA/examples/OTALeds/OTALeds.ino similarity index 100% rename from lib/ArduinoOTA/examples/OTALeds/OTALeds.ino rename to code/lib/ArduinoOTA/examples/OTALeds/OTALeds.ino diff --git a/lib/ArduinoOTA/keywords.txt b/code/lib/ArduinoOTA/keywords.txt similarity index 100% rename from lib/ArduinoOTA/keywords.txt rename to code/lib/ArduinoOTA/keywords.txt diff --git a/lib/ArduinoOTA/library.properties b/code/lib/ArduinoOTA/library.properties similarity index 100% rename from lib/ArduinoOTA/library.properties rename to code/lib/ArduinoOTA/library.properties diff --git a/lib/DebounceEvent/DebounceEvent.cpp b/code/lib/DebounceEvent/DebounceEvent.cpp similarity index 100% rename from lib/DebounceEvent/DebounceEvent.cpp rename to code/lib/DebounceEvent/DebounceEvent.cpp diff --git a/lib/DebounceEvent/DebounceEvent.h b/code/lib/DebounceEvent/DebounceEvent.h similarity index 100% rename from lib/DebounceEvent/DebounceEvent.h rename to code/lib/DebounceEvent/DebounceEvent.h diff --git a/lib/RemoteSwitch/RemoteReceiver.cpp b/code/lib/RemoteSwitch/RemoteReceiver.cpp similarity index 100% rename from lib/RemoteSwitch/RemoteReceiver.cpp rename to code/lib/RemoteSwitch/RemoteReceiver.cpp diff --git a/lib/RemoteSwitch/RemoteReceiver.h b/code/lib/RemoteSwitch/RemoteReceiver.h similarity index 100% rename from lib/RemoteSwitch/RemoteReceiver.h rename to code/lib/RemoteSwitch/RemoteReceiver.h diff --git a/lib/RemoteSwitch/RemoteSwitch.cpp b/code/lib/RemoteSwitch/RemoteSwitch.cpp similarity index 100% rename from lib/RemoteSwitch/RemoteSwitch.cpp rename to code/lib/RemoteSwitch/RemoteSwitch.cpp diff --git a/lib/RemoteSwitch/RemoteSwitch.h b/code/lib/RemoteSwitch/RemoteSwitch.h similarity index 100% rename from lib/RemoteSwitch/RemoteSwitch.h rename to code/lib/RemoteSwitch/RemoteSwitch.h diff --git a/lib/RemoteSwitch/examples/Light_show/Light_show.pde b/code/lib/RemoteSwitch/examples/Light_show/Light_show.pde similarity index 100% rename from lib/RemoteSwitch/examples/Light_show/Light_show.pde rename to code/lib/RemoteSwitch/examples/Light_show/Light_show.pde diff --git a/lib/RemoteSwitch/examples/Remote_translator/Remote_translator.pde b/code/lib/RemoteSwitch/examples/Remote_translator/Remote_translator.pde similarity index 100% rename from lib/RemoteSwitch/examples/Remote_translator/Remote_translator.pde rename to code/lib/RemoteSwitch/examples/Remote_translator/Remote_translator.pde diff --git a/lib/RemoteSwitch/examples/Retransmitter/Retransmitter.pde b/code/lib/RemoteSwitch/examples/Retransmitter/Retransmitter.pde similarity index 100% rename from lib/RemoteSwitch/examples/Retransmitter/Retransmitter.pde rename to code/lib/RemoteSwitch/examples/Retransmitter/Retransmitter.pde diff --git a/lib/RemoteSwitch/examples/Show_received_code/Show_received_code.pde b/code/lib/RemoteSwitch/examples/Show_received_code/Show_received_code.pde similarity index 100% rename from lib/RemoteSwitch/examples/Show_received_code/Show_received_code.pde rename to code/lib/RemoteSwitch/examples/Show_received_code/Show_received_code.pde diff --git a/lib/RemoteSwitch/keywords.txt b/code/lib/RemoteSwitch/keywords.txt similarity index 100% rename from lib/RemoteSwitch/keywords.txt rename to code/lib/RemoteSwitch/keywords.txt diff --git a/lib/RemoteSwitch/license.txt b/code/lib/RemoteSwitch/license.txt similarity index 100% rename from lib/RemoteSwitch/license.txt rename to code/lib/RemoteSwitch/license.txt diff --git a/lib/readme.txt b/code/lib/readme.txt similarity index 100% rename from lib/readme.txt rename to code/lib/readme.txt diff --git a/platformio.ini b/code/platformio.ini similarity index 100% rename from platformio.ini rename to code/platformio.ini diff --git a/src/code.ino b/code/src/code.ino similarity index 99% rename from src/code.ino rename to code/src/code.ino index 597cbef3..d77edd02 100644 --- a/src/code.ino +++ b/code/src/code.ino @@ -1,6 +1,6 @@ /* -ITead Sonoff Custom Firmware +ESPurna Copyright (C) 2016 by Xose PĂ©rez This program is free software: you can redistribute it and/or modify @@ -772,7 +772,6 @@ void hardwareSetup() { pinMode(LED_PIN, OUTPUT); pinMode(RF_PIN, INPUT_PULLUP); button1 = DebounceEvent(BUTTON_PIN); - //switchRelayOff(); SPIFFS.begin(); }