This commit is contained in:
2025-09-14 08:05:40 +03:00
parent a617ea30cc
commit 879ab76ff9
2 changed files with 22 additions and 21 deletions

View File

@@ -7,6 +7,8 @@
#include "avr/interrupt.h"
#include "util/delay.h"
#define ZH_TRIAC_TIME 2 // Triac turn-on time (in microseconds). Depends on the type of triac. Tested on BTA16-600.
#define ZH_AVR_AC_DIMMER_INIT_CONFIG_DEFAULT() \
{ \
.ac_dimmer_frequency = ZH_50HZ, \