Add support for Seven Segment display

Add support for Seven Segment display using HT16K33 (#8116)
This commit is contained in:
Theo Arends 2020-04-10 16:05:43 +02:00
parent 6c16f1cca8
commit 13d7943b58
6 changed files with 13 additions and 7 deletions

View File

@ -77,6 +77,7 @@ The following binary downloads have been compiled with ESP8266/Arduino library c
- Add command ``DevGroupSend`` to send an update to a Device Group (#8093)
- Add support for unreachable (unplugged) Zigbee devices in Philips Hue emulation and Alexa
- Add support for 64x48 SSD1306 OLED (#6740)
- Add support for Seven Segment display using HT16K33 (#8116)
- Add support for up to four MQTT GroupTopics (#8014)
- Add support for longer template names
- Add support for an iAQ sensor (#8107)

View File

@ -22,6 +22,7 @@
- Add quick wifi reconnect using saved AP parameters when ``SetOption56 0`` (#3189)
- Add more accuracy to GPS NTP server (#8088)
- Add support for an iAQ sensor (#8107)
- Add support for Seven Segment display using HT16K33 (#8116)
### 8.2.0.2 20200328

View File

@ -545,8 +545,9 @@ void GetFeatures(void)
#ifdef USE_IAQ
feature6 |= 0x00000010; // xsns_66_iAQ.ino
#endif
// feature6 |= 0x00000020;
#ifdef USE_DISPLAY_SEVENSEG
feature6 |= 0x00000020; // xdsp_11_sevenseg.ino
#endif
// feature6 |= 0x00000040;
// feature6 |= 0x00000080;

View File

@ -262,6 +262,7 @@
#define USE_DISPLAY_LCD // [DisplayModel 1] Enable Lcd display (I2C addresses 0x27 and 0x3F) (+6k code)
#define USE_DISPLAY_SSD1306 // [DisplayModel 2] Enable SSD1306 Oled 128x64 display (I2C addresses 0x3C and 0x3D) (+16k code)
#define USE_DISPLAY_MATRIX // [DisplayModel 3] Enable 8x8 Matrix display (I2C adresseses see below) (+11k code)
#define USE_DISPLAY_SEVENSEG // [DisplayModel 11] [I2cDriver47] Enable sevenseg display (I2C addresses 0x70 - 0x77) (<+11k code)
#define USE_DISPLAY_SH1106 // [DisplayModel 7] Enable SH1106 Oled 128x64 display (I2C addresses 0x3C and 0x3D)
#define USE_SPI // Hardware SPI using GPIO12(MISO), GPIO13(MOSI) and GPIO14(CLK) in addition to two user selectable GPIOs(CS and DC)

View File

@ -301,6 +301,6 @@ bool Xdsp11(uint8_t function)
return result;
}
#endif // USE_DISPLAY_MATRIX
#endif // USE_DISPLAY_SEVENSEG
#endif // USE_DISPLAY
#endif // USE_I2C

View File

@ -93,7 +93,7 @@ a_setoption = [[
"IR Unknown threshold",
"CSE7766 invalid power margin",
"Ignore hold time (s)",
"(not used) Number of Tuya MCU relays",
"Gratuitous ARP repeat time",
"Over temperature threshold (celsius)",
"(not used) Tuya MCU max dimmer value",
"(not used) Tuya MCU voltage Id",
@ -144,7 +144,9 @@ a_setoption = [[
"PWM Dimmer Turn red LED on when powered off",
"PWM Dimmer Buttons control remote devices",
"Distinct MQTT topics per device for Zigbee",
"","","","",
"Disable non-json MQTT response",
"Enable light fading at start/power on",
"","",
"","","","",
"","","","",
"","","","",
@ -199,7 +201,7 @@ a_features = [[
"USE_AHT1x","USE_WEMOS_MOTOR_V1","USE_DEVICE_GROUPS","USE_PWM_DIMMER"
],[
"USE_KEELOQ","USE_HRXL","USE_SONOFF_D1","USE_HDC1080",
"USE_IAQ","","","",
"USE_IAQ","USE_DISPLAY_SEVENSEG","","",
"","","","",
"","","","",
"","","","",