#define MQTT_ENABLE // Make sure to configure mqtt-server and (optionally) username+pwd
//#define FTP_ENABLE // Enables FTP-server
//#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 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 - no need to define when using platformIO
#define MFRC522_BUS 2 // If MFRC522 should be connected to I2C-Port(2) or SPI(1)
#define DISPLAY_I2C // If external Display via I2C connected - tested with SH1106_128X64_NONAME
//#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)
//#define BLUETOOTH_ENABLE // Doesn't work currently (so don't enable) as there's not enough DRAM available
@ -23,6 +23,9 @@
#if (HAL == 2)
#include"AC101.h"
#endif
#ifdef DISPLAY_I2C
#include<U8g2lib.h>
#endif
#include"SPI.h"
#include"SD.h"
#include"FS.h"
@ -40,8 +43,7 @@
#include"logmessages.h"
#include"websiteMgmt.h"
#include"websiteBasic.h"
#endif
#if (LANGUAGE == 2)
#elif (LANGUAGE == 2)
#include"logmessages_EN.h"
#include"websiteMgmt_EN.h"
#include"websiteBasic_EN.h"
@ -117,6 +119,9 @@ char *logBuf = (char*) calloc(serialLoglength, sizeof(char)); // Buffer for all
#define SPISD_MISO 2
#define SPISD_SCK 14 // JT_MTMS
// GPIO used to trigger transistor-circuit / RFID-reader