2026-05-27 14:50:26 +03:00
2026-05-08 03:23:09 +03:00
2026-05-27 14:50:26 +03:00
2026-05-27 14:50:26 +03:00
2026-05-27 14:50:26 +03:00
2026-05-27 14:50:26 +03:00
2026-05-21 11:43:09 +03:00
2026-05-27 14:50:26 +03:00
2026-05-27 14:50:26 +03:00
2026-05-24 15:11:06 +03:00
2026-05-27 14:50:26 +03:00
2026-05-27 14:50:26 +03:00
2026-05-27 14:50:26 +03:00
2026-05-27 14:50:26 +03:00
2026-05-27 14:50:26 +03:00
2026-05-27 14:50:26 +03:00
2026-05-27 14:50:26 +03:00

Chill

Sulajalmari code for resting eyes when working. Default settings are 20 minutes of work (the blue LEDs as a loading bar), 20 seconds of looking into the distance (eyes flashing). Double tapping the head restarts the cycle.

Shell Commands

All commands are available over the Zephyr shell (USB).

mode

Command Args Description
mode set <phase_a_ms> <phase_b_ms> Set phase durations, save to flash, and restart
mode color <name> Set LED color by name, save to flash, and restart
mode duration <ms> Set color animation duration, save to flash, and restart
mode status Print current config (phases, color, duration)
mode colors List all available color names with RGB values
mode light min <value> Set the minimum value for map function for light sensor
mode light max <value> Set the maximum value for map function for light sensor
mode light gain <value> Set light sensor gain

Example 15min and 20s:

mode set 900000 20000

See DEBUG.md for development/test commands.

See BUILD.md for building the project.

See FLASH.md for installing the app to the device.

S
Description
Chill firmware for sulajalmari
Readme 895 KiB
Languages
C 96.9%
CMake 3.1%