122
(3) Example: Emergency prompt
When the armor is attacked or the chassis hits an obstacle, all the LEDs on the chassis will blink red.
Note:
“and,” “or,” and “not” are logical operations, and the returned result will be a Boolean value: “True,” or “False.”
The “or” of Boolean truth list:
17. Not ( )
(1) Description: Take the opposite, i.e. return “False” if a condition is met; otherwise, “True” is returned.
(2) Return value: Boolean
(3) Example: Set either-or conditions
When the left and right armors are not attacked, it can be judged that the front and rear armors are attacked, and the front
and rear armors blink red.