Files
espurna/code
Max Prokhorov 7a64a4a6bf btn: generate pressed & released events from switch changes (#2379)
- Add ::Released button event to be used specifically with switches, opposite of ::Pressed
- Always use default state for switches instead of ignoring it and using current pin reading as value. This allows us to boot with the switch held in the opposite state and trigger the correct event immediately
(meaning, switches now depend on the BUTTON_DEFAULT_HIGH presence to detect the default position)
- BREAKING: Fixup hardware.h. Any custom board needs manual changes.
- BREAKING: Rework MQTT button messages to send text from debug messages instead of numeric code
2020-10-15 19:55:23 +03:00
..
2020-09-30 11:41:18 +03:00
2019-07-11 00:34:17 +03:00
2019-07-11 00:34:17 +03:00
2018-12-09 21:11:12 +01:00
2018-12-09 00:03:55 +03:00
2019-07-11 00:34:17 +03:00