Enhance DaliBase and DaliBridge: add support for logarithmic brightness control in setBright and setBrightPercentage methods
Signed-off-by: Tony <tonylu@tony-cloud.com>
This commit is contained in:
+2
-2
@@ -50,8 +50,8 @@ class DaliBase {
|
||||
// Brightness helpers
|
||||
int brightnessToLog(int brightness) const;
|
||||
int logToBrightness(int logValue) const;
|
||||
bool setBright(int a, int b);
|
||||
bool setBrightPercentage(int a, double b);
|
||||
bool setBright(int a, int b, bool logarithmicCurve = false);
|
||||
bool setBrightPercentage(int a, double b, bool logarithmicCurve = false);
|
||||
bool stopFade(int a);
|
||||
bool off(int a);
|
||||
bool on(int a);
|
||||
|
||||
Reference in New Issue
Block a user