01 / STM32WB55 / CORTEX-M4
Direct-register greenhouse firmware
A control stack for ambient-light sensing, five gamma-corrected PWM lighting channels, INA226 power telemetry over I²C and multiple DS18B20 temperature sensors discovered over a hand-written 1-Wire ROM search.
while (1) {
Update_Ambient_Light();
Update_Temperature_Readings();
Set_LEDS_By_Ambient_Light();
Delay_MS(2000U);
}