![]() |
ARMEBS4
revision-26.06.2015
|
Handle non-linearity in human eye brightness sensitivity. More...
Go to the source code of this file.
#define | LIGHTNESS_PWM_STEP |
Number a step for a pwm using lightness_to_pwm. | |
uint8_t | lightness_to_pwm (uint8_t percentage) |
PWM value for driving a LED expressed as perceived percentage. More... | |
Handle non-linearity in human eye brightness sensitivity.
Definition in file lightness_to_pwm.h.
uint8_t lightness_to_pwm | ( | uint8_t | percentage | ) |
PWM value for driving a LED expressed as perceived percentage.
percentage | expected of luminosity (0..100) |
Definition at line 39 of file lightness_to_pwm.c.
References ARRAY_SIZE.