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.
Example Program
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.
Configuration
Description | Compatible Blocks | Range |
Compares two values and returns a Boolean value (True/False). |
|
-∞ to ∞ |
Comments
Please sign in to leave a comment.