Merge pull request #17225 from stefanbode/patch-2

Update ZeroCross Dimmer calibration on physical measurement
This commit is contained in:
Theo Arends 2022-11-30 09:37:26 +01:00 committed by GitHub
commit 3247ae13eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,12 +34,12 @@ typedef struct gamma_table_t {
const gamma_table_t ac_dimmer_table[] = { // don't put in PROGMEM for performance reasons
{ 0, 0 },
{ 10, 64 },
{ 50, 144 },
{ 100, 205 },
{ 500, 500 },
{ 900, 795 },
{ 950, 866 },
{ 990, 936 },
{ 50, 175 },
{ 100, 235 },
{ 500, 485 },
{ 900, 704 },
{ 950, 748 },
{ 990, 850 },
{ 1024, 1024 },
{ 0xFFFF, 0xFFFF } // fail-safe if out of range
};