Convert usermods/usermod_v2_brightness_follow_sun

This commit is contained in:
Will Miles 2025-03-28 20:15:36 -04:00
parent e2c919d270
commit ff99c7de70
2 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,3 @@
{
"name": "brightness_follow_sum"
}

View File

@ -1,5 +1,3 @@
#pragma once
#include "wled.h"
//v2 usermod that allows to change brightness and color using a rotary encoder,
@ -128,3 +126,6 @@ const char UsermodBrightnessFollowSun::_update_interval[] PROGMEM = "Update
const char UsermodBrightnessFollowSun::_min_bri[] PROGMEM = "Min Brightness";
const char UsermodBrightnessFollowSun::_max_bri[] PROGMEM = "Max Brightness";
const char UsermodBrightnessFollowSun::_relax_hour[] PROGMEM = "Relax Hour";
static UsermodBrightnessFollowSun usermod_brightness_follow_sun;
REGISTER_USERMOD(usermod_brightness_follow_sun);