This block works for both EV3 Robot and for Ruby Robot!
The Boolean Comparison block compares two values and returns a Boolean value (True/False).
Use the Boolean Comparison block's drop-down menu to select a comparison operator.
This program checks if the value returned by the Ultrasonic sensor is more than 30. While the value is more than the 30, the robot drives forward at 100% power.
Compares two values and returns a Boolean value (True/False).
|-∞ to ∞|