A USB ambient light sensor board with a user-space driver to adaptively control monitor brightness with the MCSS (Monitor Control Command Set).
 
 
 
 
Go to file
BlackMark b7895d61c6 Implement hysteresis for setting monitor brightness 2022-07-22 12:35:00 +02:00
AdaptiveBrightness Implement hysteresis for setting monitor brightness 2022-07-22 12:35:00 +02:00
cmake Inline one-line functions 2020-07-05 16:13:35 +02:00
firmware Fix typo in README 2022-01-18 13:43:57 +01:00
hardware Add revision 2 of PCB 2020-07-12 17:58:24 +02:00
icons Adapt icon convert and install script to new icons 2020-07-06 19:22:52 +02:00
.clang-format Add qt example 2020-06-21 17:52:18 +02:00
.editorconfig Remove editor config for shader code 2020-06-26 13:45:44 +02:00
.gitattributes Force newline for shell scripts 2020-07-06 18:49:34 +02:00
.gitignore Ignore generated icons 2020-07-06 18:47:30 +02:00
CMakeLists.txt Fix missing library for C++17 filesystem 2020-07-17 14:52:49 +02:00
LICENSE Initial commit 2020-06-21 17:49:48 +02:00
README.md Update readme to reflect cmake build system 2020-06-26 13:47:40 +02:00

README.md

AdaptiveBrightness

Build and deployment instructions

Windows

Prerequisites

  • Visual Studio 2019
  • cmake
  • Qt Library

Build steps

> cmake -G "Visual Studio 16 2019" -A x64 -B build -DCMAKE_PREFIX_PATH="%QTDIR%\msvc2019_64\lib\cmake"

Use the generated *.sln to build.

There is an additional build step that automatically copies all required DLLs into the output directory for easy deployment.

Linux

Prerequisites

Assumes Debian Buster: sudo apt install qt5-default libqt5serialport5-dev

Build steps

$ cmake -B build
$ cd build
$ make

Deployment

Executable will run on any environment with the same architecture and installed libraries.