需求
“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.”
接著試試Add a high-temperature alarm branch.Change the threshold to use separate on and off values.
這張圖裡有什麼
看懂背後的決策。
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.