// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include #include #include #include namespace screen_light_control::functions { using BrightnessFunction = std::vector>; bsp::eink_frontlight::BrightnessPercentage brightnessRampOut(); void calculateBrightness(bsp::light_sensor::IlluminanceLux measurement); void setRampStep(float step); void setHysteresis(float hyst); void setFunctionFromPoints(const BrightnessFunction &points); } // namespace screen_light_control::functions