Fixed the printed output of the PWM state.
Re-enabled the humidity sensor. It is now attached to the wrong pins of the D-SUB connector and is powered through output pins of the microcontroller. At some point, when the connection is corrected, this has to be changed again.
Added an alarm state to the system. The alarm is turned on automatically when either humidity exceeds 60 % or the water interlock is opened, but only when the controller is active or is being activated. The alarm can only be turned off manually, at the moment through the serial interface only. Serial commands have changed slightly and new ones have been added.