Add KNX DALI Gateway Module and Message Queue Implementation
- Introduced KnxDaliModule class for handling DALI message queuing, commissioning, and KNX group-object dispatch. - Implemented Message and MessageQueue classes for managing message operations. - Removed obsolete OpenKNX IDF component files and CMake configurations. - Updated submodule reference for KNX. Signed-off-by: Tony <tonylu@tony-cloud.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <cmath>
|
||||
|
||||
class DaliHelper
|
||||
{
|
||||
public:
|
||||
static uint8_t percentToArc(uint8_t value);
|
||||
static uint8_t arcToPercent(uint8_t value);
|
||||
static float arcToPercentFloat(uint8_t value);
|
||||
static uint8_t roundToInt(double input);
|
||||
};
|
||||
Reference in New Issue
Block a user