#ifndef _USER_CONFIG_OVERRIDE_H_ #define _USER_CONFIG_OVERRIDE_H_ // force the compiler to show a warning to confirm that this file is included #warning **** user_config_override.h: Using Settings from this File **** // -- Master parameter control -------------------- #undef CFG_HOLDER #define CFG_HOLDER 4617 // [Reset 1] Change this value to load SECTION1 configuration parameters to flash // Generic Parameters (e.g., Gitpod) #ifdef WIFI_CONFIG_TOOL #undef WIFI_CONFIG_TOOL #endif #define WIFI_CONFIG_TOOL WIFI_MANAGER // [WifiConfig] Default tool if wifi fails to connect // (WIFI_RESTART/0, WIFI_MANAGER/2, WIFI_RETRY/4, WIFI_WAIT/5, WIFI_SERIAL/6, WIFI_MANAGER_RESET_ONLY/7) // (6.6.0.21 not supported: WIFI_SMARTCONFIG/1, WIFI_WPSCONFIG/3) #ifdef WIFI_CONFIG_NO_SSID #undef WIFI_CONFIG_NO_SSID #endif #define WIFI_CONFIG_NO_SSID WIFI_MANAGER // Default tool if wifi fails to connect and no SSID is configured // (WIFI_MANAGER, WIFI_SERIAL) #ifdef MQTT_LOG_LEVEL #undef MQTT_LOG_LEVEL #endif #define MQTT_LOG_LEVEL LOG_LEVEL_NONE // [MqttLog] (LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_DEBUG, LOG_LEVEL_DEBUG_MORE, LOG_LEVEL_ALL) #ifdef SYS_LOG_LEVEL #undef SYS_LOG_LEVEL #endif #define SYS_LOG_LEVEL LOG_LEVEL_NONE // [SysLog] (LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_DEBUG, LOG_LEVEL_DEBUG_MORE, LOG_LEVEL_ALL) #ifdef SERIAL_LOG_LEVEL #undef SERIAL_LOG_LEVEL #endif #define SERIAL_LOG_LEVEL LOG_LEVEL_INFO // [SerialLog] (LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_DEBUG, LOG_LEVEL_DEBUG_MORE, LOG_LEVEL_ALL) #ifdef WEB_LOG_LEVEL #undef WEB_LOG_LEVEL #endif #define WEB_LOG_LEVEL LOG_LEVEL_INFO // [WebLog] (LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_DEBUG, LOG_LEVEL_DEBUG_MORE, LOG_LEVEL_ALL) #ifdef OTA_URL #undef OTA_URL #endif #define OTA_URL "http://thehackbox.org/tasmota/pre-2.6/sonoff.bin" // [OtaUrl] // NTP Server Pool //#define NTP_SERVER1 "pool.ntp.org" // [NtpServer1] Select first NTP server by name or IP address //#define NTP_SERVER2 "nl.pool.ntp.org" // [NtpServer2] Select second NTP server by name or IP address //#define NTP_SERVER3 "0.nl.pool.ntp.org" // [NtpServer3] Select third NTP server by name or IP address #ifdef NTP_SERVER1 #undef NTP_SERVER1 #endif #define NTP_SERVER1 "openhabianpi" // [NtpServer1] Select first NTP server by name or IP address #ifdef NTP_SERVER2 #undef NTP_SERVER2 #endif #define NTP_SERVER2 "pool.ntp.org" // [NtpServer2] Select second NTP server by name or IP address #ifdef NTP_SERVER3 #undef NTP_SERVER3 #endif #define NTP_SERVER3 "us.pool.ntp.org" // [NtpServer3] Select third NTP server by name or IP address #ifdef SUNRISE_DAWN_ANGLE #undef SUNRISE_DAWN_ANGLE #endif #define SUNRISE_DAWN_ANGLE DAWN_NORMAL // Select desired Dawn Angle from (DAWN_NORMAL, DAWN_CIVIL, DAWN_NAUTIC, DAWN_ASTRONOMIC) // Time zone and Daylight Saving offsets #ifdef TIME_DST_HEMISPHERE #undef TIME_DST_HEMISPHERE #endif #define TIME_DST_HEMISPHERE North #ifdef TIME_DST_WEEK #undef TIME_DST_WEEK #endif #define TIME_DST_WEEK Second #ifdef TIME_DST_DAY #undef TIME_DST_DAY #endif #define TIME_DST_DAY Sun #ifdef TIME_DST_MONTH #undef TIME_DST_MONTH #endif #define TIME_DST_MONTH Mar #ifdef TIME_DST_HOUR #undef TIME_DST_HOUR #endif #define TIME_DST_HOUR 2 #ifdef TIME_DST_OFFSET #undef TIME_DST_OFFSET #endif #define TIME_DST_OFFSET -240 // (UTC-4) Offset from UTC in minutes #ifdef TIME_STD_HEMISPHERE #undef TIME_STD_HEMISPHERE #endif #define TIME_STD_HEMISPHERE North #ifdef TIME_STD_WEEK #undef TIME_STD_WEEK #endif #define TIME_STD_WEEK First #ifdef TIME_STD_DAY #undef TIME_STD_DAY #endif #define TIME_STD_DAY Sun #ifdef TIME_STD_MONTH #undef TIME_STD_MONTH #endif #define TIME_STD_MONTH Nov #ifdef TIME_STD_HOUR #undef TIME_STD_HOUR #endif #define TIME_STD_HOUR 2 #ifdef TIME_STD_OFFSET #undef TIME_STD_OFFSET #endif #define TIME_STD_OFFSET -300 // (UTC-5) Offset from UTC in minutes #ifdef APP_TIMEZONE #undef APP_TIMEZONE #endif #define APP_TIMEZONE 99 // 99 = use TIME_DST/TIME_STD // Temperature units #ifdef TEMP_CONVERSION #undef TEMP_CONVERSION #endif #define TEMP_CONVERSION 1 // 1 = Fahrenheit //#define BE_MINIMAL // Minimal version if upgrade memory gets tight (-45k code, -2k mem) #ifdef USE_DOMOTICZ #undef USE_DOMOTICZ #endif #ifdef USE_HOME_ASSISTANT #undef USE_HOME_ASSISTANT #endif #ifdef USE_KNX #undef USE_KNX #endif #ifdef USE_KNX_WEB_MENU #undef USE_KNX_WEB_MENU #endif #ifdef USE_JAVASCRIPT_ES6 #undef USE_JAVASCRIPT_ES6 // Enable ECMAScript6 syntax using less JavaScript code bytes (fails on IE11) #endif #ifdef USE_WEBSEND_RESPONSE #undef USE_WEBSEND_RESPONSE // Enable command WebSend response message (+1k code) #endif #ifdef USE_EMULATION_HUE #undef USE_EMULATION_HUE #endif #ifdef USE_EMULATION_WEMO #undef USE_EMULATION_WEMO #endif #ifdef USE_DISCOVERY #undef USE_DISCOVERY #ifdef WEBSERVER_ADVERTISE #undef WEBSERVER_ADVERTISE #endif #ifdef MQTT_HOST_DISCOVERY #undef MQTT_HOST_DISCOVERY #endif #endif #ifndef USE_RULES #define USE_RULES // Add support for rules (+8k code) #endif #ifdef USE_RULES #ifndef USE_EXPRESSION #define USE_EXPRESSION // Add support for expression evaluation in rules (+3k2 code, +64 bytes mem) #endif #ifndef SUPPORT_IF_STATEMENT #define SUPPORT_IF_STATEMENT // Add support for IF statement in rules (+4k2 code, -332 bytes mem) #endif #ifdef SUPPORT_MQTT_EVENT #undef SUPPORT_MQTT_EVENT // Support trigger event with MQTT subscriptions (+3k5 code) #endif #endif #ifdef USE_SCRIPT #undef USE_SCRIPT // Support for script (+17k code) #ifdef USE_SCRIPT_JSON_EXPORT #undef USE_SCRIPT_JSON_EXPORT // >J section (publish JSON payload on TelePeriod) #endif #ifdef USE_SCRIPT_WEB_DISPLAY #undef USE_SCRIPT_WEB_DISPLAY // >W section (modify web UI) #endif #ifdef USE_SCRIPT_SUB_COMMAND #undef USE_SCRIPT_SUB_COMMAND // Invoking named script subroutines via the Console or MQTT #endif #ifdef USE_SCRIPT_HUE #undef USE_SCRIPT_HUE // enable >H section (Alexa Hue emulation) #endif #ifdef USE_SCRIPT_STATUS #undef USE_SCRIPT_STATUS // enable >U section (receive JSON payloads) #endif #ifdef USE_BUTTON_EVENT #undef USE_BUTTON_EVENT // enable >b section (detect button state changes) #endif #ifdef SUPPORT_MQTT_EVENT #undef SUPPORT_MQTT_EVENT // Support for subscribe unsubscribe #endif #ifdef SCRIPT_STRIP_COMMENTS #undef SCRIPT_STRIP_COMMENTS // enables stripping comments when attempting to paste a script that is too large to fit #endif #ifdef USE_TOUCH_BUTTONS #undef USE_TOUCH_BUTTONS // Virtual touch button support with touch displays #endif #ifdef USE_24C256 #undef USE_24C256 // Use of 24C256 I2C EEPROM to expand script buffer (defaults to 4k) #endif #ifdef USE_SCRIPT_FATFS #undef USE_SCRIPT_FATFS // SD card support (on SPI bus). Specify CS pin (CS_PIN) number. Also enables 4k script buffer //#define USE_SCRIPT_FATFS 4 // Script: Add FAT FileSystem Support #endif #ifdef USE_SCRIPT_FATFS_EXT #undef USE_SCRIPT_FATFS_EXT // Additional FS commands #endif #ifdef SDCARD_DIR #undef SDCARD_DIR // Support for web UI for SD card directory upload and download #endif #ifdef USE_SML_M #undef USE_SML_M // Support for Smart Meter Interface #endif #endif #ifndef USE_COUNTER #define USE_COUNTER // Enable inputs as counter (+0k8 code) #endif #ifndef USE_ADC_VCC #define USE_ADC_VCC // Display Vcc in Power status. Disable for use as Analog input on selected devices #endif // -- Optional modules ---------------------------- #ifdef USE_BUZZER #undef USE_BUZZER // Add support for a buzzer (+0k6 code) #endif #ifdef USE_SONOFF_IFAN #undef USE_SONOFF_IFAN // Support for Sonoff iFan02 and iFan03 (+2k code) #endif #ifdef USE_SONOFF_SC #undef USE_SONOFF_SC // Support for Sonoff SC (+1k1 code) #endif #ifdef USE_RF_BRIDGE #undef USE_RF_BRIDGE #endif #ifdef USE_RF_FLASH #undef USE_RF_FLASH #endif #ifdef USE_SONOFF_L1 #undef USE_SONOFF_L1 #endif #ifdef USE_TUYA_MCU #undef USE_TUYA_MCU // Support for Tuya Serial MCU #ifdef TUYA_DIMMER_ID #undef TUYA_DIMMER_ID //#define TUYA_DIMMER_ID 0 // Default dimmer Id #endif #endif #ifdef USE_EXS_DIMMER #undef USE_EXS_DIMMER #endif #ifdef USE_DS18x20 #undef USE_DS18x20 #endif #ifdef USE_DS18B20 #undef USE_DS18B20 #endif #ifdef USE_I2C #undef USE_I2C #ifdef USE_SHT #undef USE_SHT #endif #ifdef USE_HTU #undef USE_HTU #endif #ifdef USE_BMP #undef USE_BMP #endif #ifdef USE_BME680 #undef USE_BME680 #endif #ifdef USE_BH1750 #undef USE_BH1750 #endif #ifdef USE_VEML6070 #undef USE_VEML6070 #endif #ifdef USE_ADS1115 #undef USE_ADS1115 #endif // #ifdef USE_ADS1115_I2CDEV // Deprecated // #undef USE_ADS1115_I2CDEV // #endif #ifdef USE_INA219 #undef USE_INA219 #endif #ifdef USE_INA226 #undef USE_INA226 #endif #ifdef USE_SHT3X #undef USE_SHT3X #endif #ifdef USE_TSL2561 #undef USE_TSL2561 #endif #ifdef USE_MGS #undef USE_MGS #endif #ifdef USE_SGP30 #undef USE_SGP30 #endif #ifdef USE_SI1145 #undef USE_SI1145 #endif #ifdef USE_LM75AD #undef USE_LM75AD #endif #ifdef USE_APDS9960 #undef USE_APDS9960 #endif #ifdef USE_MCP230xx #undef USE_MCP230xx #endif #ifdef USE_PCA9685 #undef USE_PCA9685 #endif #ifdef USE_MPR121 #undef USE_MPR121 #endif #ifdef USE_CCS811 #undef USE_CCS811 #endif #ifdef USE_MPU6050 #undef USE_MPU6050 #endif #ifdef USE_DS3231 #undef USE_DS3231 #endif #ifdef USE_MGC3130 #undef USE_MGC3130 #endif #ifdef USE_MAX44009 #undef USE_MAX44009 #endif #ifdef USE_SCD30 #undef USE_SCD30 #endif #ifdef USE_SPS30 #undef USE_SPS30 #endif #ifdef USE_VL53L0X #undef USE_VL53L0X #endif #ifdef USE_MLX90614 #undef USE_MLX90614 #endif #ifdef USE_CHIRP #undef USE_CHIRP #endif #ifdef USE_PAJ7620 #undef USE_PAJ7620 #endif #ifdef USE_PCF8574 #undef USE_PCF8574 #endif #endif #ifdef USE_MHZ19 #undef USE_MHZ19 #endif #ifdef USE_SENSEAIR #undef USE_SENSEAIR #endif #ifdef USE_PMS5003 #undef USE_PMS5003 #endif #ifdef PMS_MODEL_PMS3003 #undef PMS_MODEL_PMS3003 #endif #ifdef USE_NOVA_SDS #undef USE_NOVA_SDS #ifdef #undef STARTING_OFFSET // #define STARTING_OFFSET 30 // Turn on NovaSDS XX-seconds before tele_period is reached #endif #endif #ifdef USE_SERIAL_BRIDGE #undef USE_SERIAL_BRIDGE #endif #ifndef USE_ENERGY_SENSOR #define USE_ENERGY_SENSOR #endif #ifdef USE_ENERGY_SENSOR #define USE_ENERGY_MARGIN_DETECTION // Add support for Energy Margin detection (+1k6 code) #define USE_ENERGY_POWER_LIMIT // Add additional support for Energy Power Limit detection (+1k2 code) #ifndef USE_HLW8012 #define USE_HLW8012 #endif #ifndef USE_CSE7766 #define USE_CSE7766 #endif #ifndef USE_PZEM004T #define USE_PZEM004T #endif #ifdef USE_PZEM_AC #undef USE_PZEM_AC #endif #ifdef USE_PZEM_DC #undef USE_PZEM_DC #endif #ifdef USE_ADE7953 #undef USE_ADE7953 #endif #ifdef USE_MCP39F501 #undef USE_MCP39F501 #endif #ifdef USE_SDM120 #undef USE_SDM120 // Add support for Eastron SDM120-Modbus energy monitor (+1k1 code) // #define SDM120_SPEED 2400 // SDM120-Modbus RS485 serial speed (default: 2400 baud) #endif #ifdef USE_SDM120_2 #undef USE_SDM120_2 #endif #ifdef USE_SDM220 #undef USE_SDM220 #endif #ifdef USE_SDM630 // Add support for Eastron SDM630-Modbus energy monitor (+0k6 code) #undef USE_SDM630 // #define SDM630_SPEED 9600 // SDM630-Modbus RS485 serial speed (default: 9600 baud) #endif #ifdef USE_SDM630_2 #undef USE_SDM630_2 #endif #ifdef USE_DDS2382 // Add support for Hiking DDS2382 Modbus energy monitor (+0k6 code) #undef USE_DDS2382 // #define DDS2382_SPEED 9600 // Hiking DDS2382 Modbus RS485 serial speed (default: 9600 baud) #endif #ifdef USE_DDSU666 // Add support for Chint DDSU666 Modbus energy monitor (+0k6 code) #undef USE_DDSU666 // #define DDSU666_SPEED 9600 // Chint DDSU666 Modbus RS485 serial speed (default: 9600 baud) #endif #ifdef USE_SOLAX_X1 // Add support for Solax X1 series Modbus log info (+3k1 code) #undef USE_SOLAX_X1 // #define SOLAXX1_SPEED 9600 // Solax X1 Modbus RS485 serial speed (default: 9600 baud) // #define SOLAXX1_PV2 // Solax X1 using second PV #endif #endif #ifdef USE_DHT // Add support for DHT11, AM2301 (DHT21, DHT22, AM2302, AM2321) and SI7021 Temperature and Humidity sensor (1k6 code) #undef USE_DHT #endif #ifdef USE_MAX31855 // Add support for MAX31855 K-Type thermocouple sensor using softSPI #undef USE_MAX31855 #endif #ifdef USE_MAX31865 // Add support for MAX31865 RTD sensors using softSPI #undef USE_MAX31865 // #define MAX31865_PTD_WIRES 2 // PTDs come in several flavors. Pick yours // #define MAX31865_PTD_RES 100 // Nominal PTD resistance at 0°C (100Ω for a PT100, 1000Ω for a PT1000, YMMV!) // #define MAX31865_REF_RES 430 // Reference resistor (Usually 430Ω for a PT100, 4300Ω for a PT1000) // #define MAX31865_PTD_BIAS 0 // To calibrate your not-so-good PTD #endif #ifdef USE_MP3_PLAYER #undef USE_MP3_PLAYER #endif #ifdef USE_ARMTRONIX_DIMMERS #undef USE_ARMTRONIX_DIMMERS #endif #ifdef USE_PS_16_DZ #undef USE_PS_16_DZ #endif #ifdef ROTARY_V1 #undef ROTARY_V1 #endif #ifdef USE_SHUTTER #undef USE_SHUTTER #endif #ifdef USE_DEEPSLEEP #undef USE_DEEPSLEEP #endif #ifdef USE_IR_REMOTE // Send IR remote commands using library IRremoteESP8266 and ArduinoJson (+4k3 code, 0k3 mem, 48 iram) #undef USE_IR_REMOTE // #define USE_IR_SEND_AIWA // Support IRsend Aiwa protocol // #define USE_IR_SEND_DISH // Support IRsend Dish protocol // #define USE_IR_SEND_JVC // Support IRsend JVC protocol // #define USE_IR_SEND_LG // Support IRsend LG protocol // #define USE_IR_SEND_MITSUBISHI // Support IRsend Mitsubishi protocol // #define USE_IR_SEND_NEC // Support IRsend NEC protocol // #define USE_IR_SEND_PANASONIC // Support IRsend Panasonic protocol // #define USE_IR_SEND_PIONEER // Support IRsend Pioneer protocol // #define USE_IR_SEND_RC5 // Support IRsend Philips RC5 protocol // #define USE_IR_SEND_RC6 // Support IRsend Philips RC6 protocol // #define USE_IR_SEND_SAMSUNG // Support IRsend Samsung protocol // #define USE_IR_SEND_SANYO // Support IRsend Sanyo protocol // #define USE_IR_SEND_SHARP // Support IRsend Sharp protocol // #define USE_IR_SEND_SONY // Support IRsend Sony protocol // #define USE_IR_SEND_WHYNTER // Support IRsend Whynter protocol #endif #ifdef USE_IR_HVAC // Support for HVAC systems using IR (+3k5 code) #undef USE_IR_HVAC // #define USE_IR_HVAC_TOSHIBA // Support IRhvac Toshiba protocol // #define USE_IR_HVAC_MITSUBISHI // Support IRhvac Mitsubischi protocol // #define USE_IR_HVAC_LG // Support IRhvac LG protocol // #define USE_IR_HVAC_FUJITSU // Support IRhvac Fujitsu protocol // #define USE_IR_HVAC_MIDEA // Support IRhvac Midea/Komeco protocol #endif #ifdef USE_IR_RECEIVE // Support for IR receiver (+7k2 code, 264 iram) #undef USE_IR_RECEIVE // #define IR_RCV_BUFFER_SIZE 100 // Max number of packets allowed in capture buffer (default 100 (*2 bytes ram)) // #define IR_RCV_TIMEOUT 15 // Number of milli-Seconds of no-more-data before we consider a message ended (default 15) // #define IR_RCV_MIN_UNKNOWN_SIZE 6 // Set the smallest sized "UNKNOWN" message packets we actually care about (default 6, max 255) #endif #ifdef USE_ZIGBEE #undef USE_ZIGBEE #define USE_ZIGBEE_PANID 0x1A63 // arbitrary PAN ID for Zigbee network, must be unique in the home #define USE_ZIGBEE_EXTPANID 0xCCCCCCCCCCCCCCCCL // arbitrary extended PAN ID #define USE_ZIGBEE_CHANNEL 11 // Zigbee Channel (11-26) #define USE_ZIGBEE_PRECFGKEY_L 0x0F0D0B0907050301L // note: changing requires to re-pair all devices #define USE_ZIGBEE_PRECFGKEY_H 0x0D0C0A0806040200L // note: changing requires to re-pair all devices #define USE_ZIGBEE_PERMIT_JOIN false // don't allow joining by default #endif #ifdef USE_SM2135 #undef USE_SM2135 #endif #ifdef USE_WS2812 #undef USE_WS2812 #define USE_WS2812_HARDWARE NEO_HW_WS2812 // Select hardware type - NEO_HW_WS2812, NEO_HW_WS2812X, NEO_HW_WS2813, NEO_HW_SK6812, NEO_HW_LC8812, NEO_HW_APA106 (DMA mode only) #endif #ifdef USE_WS2812_DMA #undef USE_WS2812_DMA #endif #ifdef USE_MY92X1 #undef USE_MY92X1 #endif #ifdef USE_ARILUX_RF #undef USE_ARILUX_RF #endif #ifdef USE_SR04 #undef USE_SR04 #endif #ifdef USE_TM1638 #undef USE_TM1638 #endif #ifdef USE_HX711 #undef USE_HX711 #endif #ifdef USE_HX711_GUI #undef USE_HX711_GUI #endif #ifdef USE_TX20_WIND_SENSOR #undef USE_TX20_WIND_SENSOR #endif #ifdef USE_RC_SWITCH #undef USE_RC_SWITCH #endif #ifdef USE_RF_SENSOR #undef USE_RF_SENSOR #endif #ifdef USE_THEO_V2 #undef USE_THEO_V2 #endif #ifdef USE_ALECTO_V2 #undef USE_ALECTO_V2 #endif #ifdef USE_SM16716 #undef USE_SM16716 #endif #ifdef USE_HRE #undef USE_HRE // Support for Badger HR-E Water Meter (+1k4 code) #endif #ifdef USE_A4988_STEPPER #undef USE_A4988_STEPPER // Support for A4988 stepper-motor-driver-circuit (+10k5 code) #endif //#define DISPLAY_CONFIG // -- Enable Display driver -- #ifdef DISPLAY_CONFIG // --------------------------------------------------------------------------- #undef USE_SPI #define USE_DISPLAY #ifdef USE_DISPLAY_MODES1TO5 #undef USE_DISPLAY_MODES1TO5 // Disable display mode 1 to 5 in addition to mode 0 #endif // Choose your display type by selecting the appropriate block of settings // LCD display (I2C addresses 0x27 and 0x3F) #ifndef USE_DISPLAY_LCD // Enable #define USE_DISPLAY_LCD #endif // #ifdef USE_DISPLAY_LCD // Disable // #undef USE_DISPLAY_LCD // #endif // OLED 128x64 display (I2C addresses 0x3C and 0x3D) // #ifndef USE_DISPLAY_SSD1306 // Enable // #define USE_DISPLAY_SSD1306 // #endif #ifdef USE_DISPLAY_SSD1306 // Disable #undef USE_DISPLAY_SSD1306 #endif // OLED SH1106 display (I2C addresses 0x3C and 0x3D) // #ifndef USE_DISPLAY_SSD1306 // Enable // #define USE_DISPLAY_SSD1306 // #endif #ifdef USE_DISPLAY_SH1106 // Disable #undef USE_DISPLAY_SH1106 #endif // 8x8 Matrix display // #ifndef USE_DISPLAY_MATRIX // Enable // #define USE_DISPLAY_MATRIX // #endif #ifdef USE_DISPLAY_MATRIX // Disable #undef USE_DISPLAY_MATRIX #endif // [DisplayModel 4] ILI9341 TFT 480x320 display (+19k code) // #ifndef USE_DISPLAY_ILI9341 // Enable // #define USE_DISPLAY_ILI9341 // #define USE_SPI // #endif #ifdef USE_DISPLAY_ILI9341 // Disable #undef USE_DISPLAY_ILI9341 #endif // e-paper display (choose 29 or 42) // #ifndef USE_DISPLAY_EPAPER // Enable // #define USE_SPI // #define SHOW_SPLASH // #define USE_DISPLAY_EPAPER // #define USE_DISPLAY_EPAPER_29 // [DisplayModel 5] e-paper 2.9 inch display (+19k code) // #define USE_DISPLAY_EPAPER_42 // [DisplayModel 6] e-paper 4.2 inch display // #endif #ifdef USE_DISPLAY_EPAPER // Disable #undef USE_DISPLAY_EPAPER #undef USE_DISPLAY_EPAPER_29 #undef USE_DISPLAY_EPAPER_42 #endif // [DisplayModel 8] ILI9488 // #ifndef USE_DISPLAY_ILI9488 // Enable // #define USE_SPI // #define USE_DISPLAY_ILI9488 // #endif #ifdef USE_DISPLAY_ILI9488 // Disable #undef USE_DISPLAY_ILI9488 #endif // [DisplayModel 9] SSD1351 // #ifndef USE_DISPLAY_SSD1351 // Enable // #define USE_SPI // #define USE_DISPLAY_SSD1351 // #endif #ifdef USE_DISPLAY_SSD1351 // Disable #undef USE_DISPLAY_SSD1351 #endif // [DisplayModel 10] RA8876 // #ifndef USE_DISPLAY_RA8876 // Enable // #define USE_SPI // #define USE_DISPLAY_RA8876 // #endif #ifdef USE_DISPLAY_RA8876 // Disable #undef USE_DISPLAY_RA8876 #endif #endif // DISPLAY_CONFIG ---------------------------------------------------------------------------- #endif // _USER_CONFIG_OVERRIDE_H_