stefanbode
61fc04ed86
Added comments and code description
2022-03-13 11:30:05 +01:00
stefanbode
7b49d70d46
Bugfix pinused crash
...
Added init message
2022-03-13 11:14:40 +01:00
stefanbode
7b68b0e154
Removed PinUsed from Interrupt
2022-03-12 17:43:53 +01:00
stefanbode
774a9ef439
ESP32 implementation for zero-cross dimmer
2022-02-28 16:47:21 +01:00
stefanbode
f2f155aa96
Bugfix multiple zero-cross dimmer + speed optimization
...
- move sync from FUNC_LOOP to FUNC_EVERY_50MS
- Added documentation
- bugfix dimmer2 get off when dimmer1 get off
- automatic phase correction per channel
2022-02-28 16:06:49 +01:00
stefanbode
3ffa536b9a
Proposed Dimmer change
2022-02-25 20:25:16 +01:00
stefanbode
a83be8d33d
Update xsns_01_counter.ino
2022-02-25 19:49:06 +01:00
Adrian Scillato
b6e8712d3b
Moving Key USE_AC_ZERO_CROSS_DIMMER to my_user_config.h
2021-08-28 17:17:52 -03:00
Theo Arends
5e805e0c4a
Move Settings from DRAM to heap
2021-06-11 18:14:12 +02:00
Theo Arends
2350697815
Use IRAM_ATTR in place of ICACHE_RAM_ATTR
2021-04-02 17:14:08 +02:00
Theo Arends
44e3a29810
Refactor AddLog usage
2021-01-23 17:24:54 +01:00
Theo Arends
dcbb3f1e0e
Happy New Year
2021-01-01 13:44:04 +01:00
Theo Arends
765e0e922d
Prep for ESP32-C3 ph3
2020-11-28 17:00:15 +01:00
Theo Arends
fa7fdbd51a
Consolidate `AddLog_P`
...
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Theo Arends
280f0a9de7
Use global struct
2020-10-29 13:37:09 +01:00
stefanbode
9c458c9ad8
AC-Zero-Cross Dimmer Enhancements
...
- Separated PWM control from the interrupt handler
- #9040 , #9041 fixed no restart or watchdog seen anymore
- enable FADE ON/OFF support (not the smoothest but best it can be)
- preparation for Setoption 68 1 to use up to 5 Dimmer on one Phase (currently not working)
- Introduced USE_AC_ZERO_CROSS_DIMMER compiler option if someone needs every byte
2020-08-12 09:18:05 +02:00
Theo Arends
eeed6768d0
Third try to fix counter interrupt storm
2020-07-20 11:20:58 +02:00
Theo Arends
8dbe3c90da
Second try to fix counter interrupt storm
...
Second try to fix counter interrupt storm during OTA (#8928 )
2020-07-17 16:18:07 +02:00
Theo Arends
25dcf447f3
First try to fix counter interrupt storm
...
First try to fix counter interrupt storm during OTA (#8928 )
2020-07-17 12:49:42 +02:00
Theo Arends
a9b05b0884
Change to attachInterruptArg()
...
Change to attachInterruptArg() saving 76 bytes
2020-07-17 12:37:21 +02:00
Theo Arends
934ca43463
Remove Arduino ESP8266 Core support before 2.7.1
...
Remove Arduino ESP8266 Core support for versions before 2.7.1
2020-07-17 11:49:56 +02:00
stefanbode
90f29695bb
Update xsns_01_counter.ino
2020-07-07 16:31:35 +02:00
stefanbode
ce7070b0a5
Update xsns_01_counter.ino
2020-07-07 16:26:44 +02:00
stefanbode
7c2d9673a1
Update xsns_01_counter.ino
2020-07-07 16:22:55 +02:00
stefanbode
6bd4edcdae
Update xsns_01_counter.ino
2020-07-03 09:01:02 +02:00
stefanbode
0509eee6a5
Update xsns_01_counter.ino
2020-07-02 08:42:43 +02:00
stefanbode
c11e948b81
Update xsns_01_counter.ino
2020-07-01 17:46:13 +02:00
Theo Arends
7600a81c8e
Add ESP32 counter support
2020-06-24 15:50:14 +02:00
Theo Arends
c939077514
Change pin handling part 3
2020-04-27 12:54:07 +02:00
Theo Arends
24280bcdea
Change pin handling part 2
2020-04-27 11:54:23 +02:00
to-scho
4a2f3d87c5
Enhanced counter debouncing
...
New commands CounterDebounceLow and CounterDebounceHigh to allow individual debounce times for low and high pulse widths to discard non valid falling edges. These are checked before legacy CounterDebounce checks distance between to valid falling edges.
Useful to have robust counter results when using e.g. an TCRT5000 optical sensor to count electromechanical "Ferraris" electricity meters.
2020-03-29 17:05:52 +02:00
Theo Arends
8aa9109656
Happy New Year
...
Happy New Year
2019-12-31 14:23:34 +01:00
Andre Thomas
4a9271aced
Update xsns_01_counter.ino
2019-12-28 17:26:15 +02:00
Andre Thomas
436cf830b9
Add support for resetting counters on tele_period
...
Add support for resetting counters on tele_period if SetOption78 is enabled.
2019-12-28 16:49:57 +02:00
Theo Arends
00c7ee0bb8
Fix Arduino IDE compile error
...
Fix Arduino IDE function prototyping compile error (#6982 )
2019-11-24 12:24:35 +01:00
Theo Arends
0e07397ff7
Change Sonoff-Tasmota to Tasmota
2019-10-27 12:04:08 +01:00