A solicitação
“Create a temperature-controlled fan-system flowchart: read a temperature sensor, compare the reading with a threshold, turn the fan on above the threshold, turn it off otherwise, wait briefly, and read the sensor again.”
Depois, tenteAdd a high-temperature alarm branch.Change the threshold to use separate on and off values.
O que há neste desenho
Entenda as decisões por trás dele.
01
Temperature comparison against threshold
02
Fan control based on decision
Can be adapted for any sensor-actuator loop with threshold-based control, such as thermostat, humidity control, or light-activated systems.