This sketch implements a very simple lamp for my aquarium. An LED stripe (IP67 waterproof) is driven by an arduino. Currently an external plug switches on power, and then the strips gradually fade to various ambient settings (morning, noon, ..., night).
Building is done via platformio:
platformio run # compile
platformio run --target upload # upload
Testing support in platformio is currently quite limited. I managed to hack together a way to use one C file for tests. Luckily this is enough for this small sketch.
./run_local_unit_tests.sh