mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 13:16:32 +00:00
ESP32 Increase number of button GPIOs from 8 to 28
ESP32 Increase number of button GPIOs from 8 to 28 (#16518)
This commit is contained in:
parent
0d10aeab16
commit
6aece15bd6
@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
- Support of optional file calib.dat on ADE7953 based energy monitors like Shelly EM (#16486)
|
- Support of optional file calib.dat on ADE7953 based energy monitors like Shelly EM (#16486)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
- ESP32 Increase number of button GPIOs from 8 to 28 (#16518)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
@ -133,6 +133,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo
|
|||||||
- Button debouncing V3 by adopting switch debounce code [#16339](https://github.com/arendst/Tasmota/issues/16339)
|
- Button debouncing V3 by adopting switch debounce code [#16339](https://github.com/arendst/Tasmota/issues/16339)
|
||||||
- Thermostat max allowed temperature from 100 to 200C [#16363](https://github.com/arendst/Tasmota/issues/16363)
|
- Thermostat max allowed temperature from 100 to 200C [#16363](https://github.com/arendst/Tasmota/issues/16363)
|
||||||
- Using command ``SerialBuffer`` raise max allowed buffer size to 2048 characters [#16374](https://github.com/arendst/Tasmota/issues/16374)
|
- Using command ``SerialBuffer`` raise max allowed buffer size to 2048 characters [#16374](https://github.com/arendst/Tasmota/issues/16374)
|
||||||
|
- ESP32 Increase number of button GPIOs from 8 to 28 [#16518](https://github.com/arendst/Tasmota/issues/16518)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- RTC not detected when lights are present [#16242](https://github.com/arendst/Tasmota/issues/16242)
|
- RTC not detected when lights are present [#16242](https://github.com/arendst/Tasmota/issues/16242)
|
||||||
|
@ -49,13 +49,14 @@ const uint32_t POWER_SIZE = 32; // Power (relay) bit count
|
|||||||
const uint8_t MAX_RELAYS = 8; // Max number of relays (up to 28)
|
const uint8_t MAX_RELAYS = 8; // Max number of relays (up to 28)
|
||||||
const uint8_t MAX_INTERLOCKS = 4; // Max number of interlock groups (up to MAX_INTERLOCKS_SET)
|
const uint8_t MAX_INTERLOCKS = 4; // Max number of interlock groups (up to MAX_INTERLOCKS_SET)
|
||||||
const uint8_t MAX_SWITCHES = 8; // Max number of switches (up to MAX_SWITCHES_SET)
|
const uint8_t MAX_SWITCHES = 8; // Max number of switches (up to MAX_SWITCHES_SET)
|
||||||
|
const uint8_t MAX_KEYS = 8; // Max number of keys or buttons (up to 28)
|
||||||
#endif // ESP8266
|
#endif // ESP8266
|
||||||
#ifdef ESP32
|
#ifdef ESP32
|
||||||
const uint8_t MAX_RELAYS = 28; // Max number of relays (up to 28)
|
const uint8_t MAX_RELAYS = 28; // Max number of relays (up to 28)
|
||||||
const uint8_t MAX_INTERLOCKS = 14; // Max number of interlock groups (up to MAX_INTERLOCKS_SET)
|
const uint8_t MAX_INTERLOCKS = 14; // Max number of interlock groups (up to MAX_INTERLOCKS_SET)
|
||||||
const uint8_t MAX_SWITCHES = 28; // Max number of switches (up to MAX_SWITCHES_SET)
|
const uint8_t MAX_SWITCHES = 28; // Max number of switches (up to MAX_SWITCHES_SET)
|
||||||
|
const uint8_t MAX_KEYS = 28; // Max number of keys or buttons (up to 28)
|
||||||
#endif // ESP32
|
#endif // ESP32
|
||||||
const uint8_t MAX_KEYS = 8; // Max number of keys or buttons (up to 28)
|
|
||||||
|
|
||||||
// Changes to the following MAX_ defines will impact settings layout
|
// Changes to the following MAX_ defines will impact settings layout
|
||||||
const uint8_t MAX_INTERLOCKS_SET = 14; // Max number of interlock groups (MAX_RELAYS / 2)
|
const uint8_t MAX_INTERLOCKS_SET = 14; // Max number of interlock groups (MAX_RELAYS / 2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user