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 fea3c1d8d1 Inline one-line functions 2020-07-05 16:13:35 +02:00
AdaptiveBrightness Fix assert 2020-07-05 15:50:54 +02:00
AdaptiveBrightnessFirmware Remove useless receiving flag and fix overflow protection 2020-07-04 12:58:23 +02:00
cmake Inline one-line functions 2020-07-05 16:13:35 +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 Add git attribute to force LF line endings for assembly files 2020-07-03 22:35:46 +02:00
.gitignore Ignore msvc resource cache 2020-07-04 16:30:01 +02:00
CMakeLists.txt Inline one-line functions 2020-07-05 16:13:35 +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.