Logic blocks

Blockly comes preinstalled in Erle-Brain 2. Acquire this artificial brain and create your own robot or drone here

The logic blocks expose several functions that are useful to conditionally execute certain code. The image above shows an example that uses the if do block. This block alone corresponds with the following code in Python:

if False: