//#define NEOPIXEL_ENABLE // Don't forget configuration of NUM_LEDS if enabled
#define NEOPIXEL_REVERSE_ROTATION // Some Neopixels are adressed/soldered counter-clockwise. This can be configured here.
#define LANGUAGE 1 // 1 = deutsch; 2 = english
#define HAL 1 // HAL 1 = LoLin32, 2 = AI AudioKit
// #define HAL 1 // HAL 1 = LoLin32, 2 = AI AudioKit - no need to define when using platformIO
#define MFRC522_BUS 2 // If MFRC522 should be connected to I2C-Port(2) or SPI(1)
//#define SD_NOT_MANDATORY_ENABLE // Only for debugging-purposes: Tonuino will also start without mounted SD-card anyway (will only try once to mount it)
@ -27,7 +27,6 @@
#include"SD.h"
#include"FS.h"
#include"esp_task_wdt.h"
#include<MFRC522.h>
#include<Preferences.h>
#ifdef MQTT_ENABLE
#include<PubSubClient.h>
@ -73,6 +72,8 @@ uint8_t serialLoglength = 200;
char*logBuf=(char*)calloc(serialLoglength,sizeof(char));// Buffer for all log-messages
#if (HAL == 1)
#include<MFRC522.h>
// GPIOs (uSD card-reader)
#define SPISD_CS 15
#define SPISD_MOSI 13
@ -118,20 +119,21 @@ char *logBuf = (char*) calloc(serialLoglength, sizeof(char)); // Buffer for all