I would like to set the brightness of a device based on the setting of a dimmer switch.
The problem is that the dimmer has a value of 0-100 (Percent) and the device takes a value of 0-255. (Basically the device value should be set to 2.55*DimmerControl.)
What is the typical solution for this problem? This much be a very common situation that others have a standard, good solution to.
The problem is that the dimmer has a value of 0-100 (Percent) and the device takes a value of 0-255. (Basically the device value should be set to 2.55*DimmerControl.)
What is the typical solution for this problem? This much be a very common situation that others have a standard, good solution to.
Comment