some big change using state machine

This commit is contained in:
2025-08-28 15:58:50 +02:00
parent 7cdf5d4682
commit 83d589a3ec
9 changed files with 122 additions and 45 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include <cstdint>
#include <string>
inline constexpr uint8_t ledPinR = 16;
inline constexpr uint8_t ledPinG = 17;
@@ -7,5 +8,8 @@ inline constexpr uint8_t ledPinB = 18;
inline constexpr uint8_t ledPinCW = 19;
inline constexpr uint8_t ledPinWW = 21;
inline constexpr std::string_view hostName = "smart-rgb-dev";
inline constexpr std::string_view friendlyName = "Smart RGB Dev";
inline constexpr uint32_t maxNumberOfStates = 10;
inline constexpr uint32_t maxNumberOfStates = 10;
inline constexpr std::string_view mqttBroker = "10.238.75.81";