Closed Aeasala closed 2 months ago
PWM value should be received from the application level as a {uint8_t} brightnessVal from [0, 255]
{uint8_t} brightnessVal
Alarm board PWM value should be [0, 255] from dim to bright.
Future high-side p-channel FET should be {255 - brightnessVal}, or ones-complement {~brightnessVal}, i.e. from [255, 0] for dim to bright.
{255 - brightnessVal}
{~brightnessVal}
i will try to get some info today when the boards arrive
has been completed by #22
PWM value should be received from the application level as a
{uint8_t} brightnessVal
from [0, 255]Alarm board PWM value should be [0, 255] from dim to bright.
Future high-side p-channel FET should be
{255 - brightnessVal}
, or ones-complement{~brightnessVal}
, i.e. from [255, 0] for dim to bright.