← Innovation PlaygroundMISSION 19 / 100 · Coding Studio

Comparison operators

Test whether a reading reaches an alarm threshold.

1. Explore the controls

Change the inputs and observe the model's response.

2. Observe the results

AlarmOFF

How the model works

alarm = reading >= threshold
YOUR MISSION

3. Reach the target

Adjust the controls to obtain the following output. Multiple valid solutions may exist.

AlarmON
Need a hint?

Equality also activates this alarm.

Explore, then check your answer.

Simplified educational model. No real hardware is controlled. Code examples are illustrative and not executed as arbitrary programs.