ISO C11 StandardWebAssembly 7.0 KBRAM: 20 Bytes (0B Heap)
View C Source
Hardware Simulation Disclosure: All temperature values, communication timeouts, and disconnection flags are software-simulated inputs passed directly into the compiled C11 WebAssembly module in your browser. No physical microcontroller or transducer hardware was utilized. The C controller's state machine, memory layout, thresholds, and hysteresis logic run with 100% fidelity.
Finite State Machine (FSM) Engine
RELAY: ARMED
STATE_NORMAL
T < 60.0°C & OK
≥ 60.0°C→
STATE_WARNING
60°C ≤ T < 80°C
≥ 80.0°C / Err→
STATE_FAULT
Critical / Tripped
Thermal Hysteresis Safety WatcherLATCH DISARMED
System operating in nominal range. Over-temperature faults (≥ 80°C) will latch safely and refuse reset until temperature drops below 75.0°C recovery threshold.