Allow pins/settings to be defined in INI file (#597)

* Allow pins/settings to be defined in INI file

* Open to make publishing ManufacturerData optional
This commit is contained in:
Jonathan authored and GitHub committed 2020-05-03 08:56:40 -05:00
1 parent 470790b42e
commit 9fc5ba99f5
9 files changed
+90 -56

No files matched your search

+5 -8
View File
@@ -21,6 +21,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef config_FASTLED_h
#define config_FASTLED_h
/*-------------------FASTLED topics & parameters----------------------*/
//FASTLED MQTT Subjects
#define subjectMQTTtoFASTLED "/commands/MQTTtoFASTLED"
@@ -66,14 +69,6 @@
//#define DATA_PIN 3
//#define CLOCK_PIN 13
#ifdef ESP8266
#elif ESP32
#else
#endif
#ifdef ESP8266
//#define FASTLED_ESP8266_RAW_PIN_ORDER
//#define FASTLED_ESP8266_NODEMCU_PIN_ORDER
@@ -87,3 +82,5 @@
#define FASTLED_DATA_PIN 10
#define FASTLED_CLOCK_PIN 13
#endif
#endif