الطلب
“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.