mirror of https://github.com/arendst/Tasmota.git
Merge pull request #17003 from pkkrusty/patch-5
Add options to display section
This commit is contained in:
commit
c14e50820b
|
@ -699,7 +699,7 @@
|
|||
// #define USE_BM8563 // [I2cDriver59] Enable BM8563 RTC - found in M5Stack - support both I2C buses on ESP32 (I2C address 0x51) (+2.5k code)
|
||||
// #define USE_PCF85363 // [I2cDriver66] Enable PCF85363 RTC - found Shelly 3EM (I2C address 0x51) (+0k7 code)
|
||||
|
||||
// #define USE_DISPLAY // Add I2C Display Support (+2k code)
|
||||
// #define USE_DISPLAY // Add I2C/TM1637/MAX7219 Display Support (+2k code)
|
||||
#define USE_DISPLAY_MODES1TO5 // Enable display mode 1 to 5 in addition to mode 0
|
||||
#define USE_DISPLAY_LCD // [DisplayModel 1] [I2cDriver3] Enable Lcd display (I2C addresses 0x27 and 0x3F) (+6k code)
|
||||
#define USE_DISPLAY_SSD1306 // [DisplayModel 2] [I2cDriver4] Enable SSD1306 Oled 128x64 display (I2C addresses 0x3C and 0x3D) (+16k code)
|
||||
|
@ -713,7 +713,7 @@
|
|||
#define MTX_ADDRESS7 0x00 // [DisplayAddress7] I2C address of seventh 8x8 matrix module
|
||||
#define MTX_ADDRESS8 0x00 // [DisplayAddress8] I2C address of eigth 8x8 matrix module
|
||||
#define USE_DISPLAY_SEVENSEG // [DisplayModel 11] [I2cDriver47] Enable sevenseg display (I2C 0x70-0x77) (<+11k code)
|
||||
// #define USE_DISPLAY_SEVENSEG_COMMON_ANODE // Enable support for common anode sevenseg displays
|
||||
// #define USE_DISPLAY_SEVENSEG_COMMON_ANODE // Enable support for common anode sevenseg displays
|
||||
// Multiple sevenseg displays are logically arranged vertically with MTX_ADDRESS1 at y=0,
|
||||
// MTX_ADDRESS2 at y=1, up to MTX_ADDRESS8 at y=7
|
||||
// Command: DisplayText [yn]8888
|
||||
|
@ -721,14 +721,22 @@
|
|||
// Each segment may be address Command: DisplayText [xn]m
|
||||
// where n is 0..4 (4 digits and middle :) and m is decimal for bitmap of which segment to turn on.
|
||||
// Reference: https://cdn-learn.adafruit.com/downloads/pdf/adafruit-led-backpack.pdf
|
||||
// #define SEVENSEG_ADDRESS1 0x70 // No longer used. Use MTX_ADDRESS1 - MTX_ADDRESS8 instead to specify I2C address of sevenseg displays
|
||||
// #define SEVENSEG_ADDRESS1 0x70 // No longer used. Use MTX_ADDRESS1 - MTX_ADDRESS8 instead to specify I2C address of sevenseg displays
|
||||
// #define USE_DISPLAY_SH1106 // [DisplayModel 7] [I2cDriver6] Enable SH1106 Oled 128x64 display (I2C addresses 0x3C and 0x3D)
|
||||
//. #define USE_DT_VARS // Display variables that are exposed in JSON MQTT strings e.g. in TelePeriod messages.
|
||||
// #define MAX_DT_VARS 16 // Defaults to 7
|
||||
//. #define USE_GRAPH // Enable line charts with displays
|
||||
//. #define NUM_GRAPHS 4 // Max 16
|
||||
|
||||
#endif // USE_I2C
|
||||
|
||||
// #define USE_DISPLAY // Add I2C/TM1637/MAX7219 Display Support (+2k code)
|
||||
//. #define USE_DISPLAY_TM1637 // [DisplayModel 15] Enable TM1637 Module
|
||||
//. #define USE_DISPLAY_MAX7219 // [DisplayModel 15] Enable MAX7219 Module
|
||||
|
||||
// -- Universal Display Driver ---------------------------------
|
||||
// #define USE_UNIVERSAL_DISPLAY // New universal display driver for both I2C and SPI
|
||||
#define MAX_TOUCH_BUTTONS 16 // Virtual touch buttons
|
||||
#define MAX_TOUCH_BUTTONS 16 // Virtual touch buttons
|
||||
|
||||
// -- SPI sensors ---------------------------------
|
||||
//#define USE_SPI // Hardware SPI using GPIO12(MISO), GPIO13(MOSI) and GPIO14(CLK) in addition to two user selectable GPIOs(CS and DC)
|
||||
|
@ -752,9 +760,6 @@
|
|||
|
||||
#endif // USE_SPI
|
||||
|
||||
//#define USE_DISPLAY // Add Display support
|
||||
// #define USE_DISPLAY_TM1637 // [DisplayModel 15] Enable TM1637 module
|
||||
|
||||
// -- Serial sensors ------------------------------
|
||||
//#define USE_MHZ19 // Add support for MH-Z19 CO2 sensor (+2k code)
|
||||
//#define USE_SENSEAIR // Add support for SenseAir K30, K70 and S8 CO2 sensor (+2k3 code)
|
||||
|
|
Loading…
Reference in New Issue