Blocks Area

Easy Guide to the Block Categories

Now that you know how blocks work, let's explore the different sections of the Clu-Blocks Pro Blocks Area.

The Blocks Area is organized into categories, and each category can be thought of as a toolbox designed for a specific programming task.

Just as a real toolbox contains different tools for different jobs, each Clu-Blocks Pro category contains blocks that help you perform a particular type of operation.

[ INSERT IMAGE HERE: Clu-Blocks Pro Blocks Area ]

Figure. Block categories available in the Clu-Blocks Pro Blocks Area.

For example, some categories provide blocks for reading sensors, while others allow you to control outputs, make decisions, perform calculations, display information, communicate with other devices, or store information in variables.

ToolboxWhat You Can Do
Inputs & Outputs / PinsRead inputs and control the D1 R32 pins.
Serial PortExchange information between the D1 R32 and the computer.
ControlControl how and when instructions are executed.
LogicMake decisions by evaluating conditions.
MathPerform calculations and work with numbers.
Servos & BuzzerControl servo motors and buzzers.
SensorsCollect information from connected sensors.
LCD ScreenDisplay information on LCD screens.
OLED ScreenDisplay text and graphics on OLED screens.
TextCreate and work with text values.
CommunicationsAccess tools for communication between devices.
BluetoothExchange information using Bluetooth communication.
Infrared (IR)Work with infrared transmitters and receivers.
ESP-NOWExchange information directly between compatible ESP32-based devices.
NetworkWork with network-related functions.
HTTPWork with HTTP-related operations.
VariablesStore information so it can be used or changed by the program.
FunctionsOrganize reusable sections of a program.

Think of Each Category as a Toolbox

You do not need to learn every block at once.

Instead, think about what you want your program to do, and then choose the toolbox that contains the blocks you need.

For example:

Need to read a sensor?
→ Explore the Sensors toolbox.

Need to make a decision?
→ Explore the Logic toolbox.

Need to display a value?
→ Explore the LCD Screen or OLED Screen toolbox.

Need to store a sensor reading?
→ Explore the Variables toolbox.

Need to send information to the computer?
→ Explore the Serial Port toolbox.

Need two devices to communicate?
→ Explore the appropriate Communication toolbox.


Exploring the Block Toolboxes

In the following sections, we will explore the Clu-Blocks Pro block categories one by one.

For each toolbox, you will learn:

  1. What the category is for.
  2. What its main blocks do.
  3. When you might use those blocks.
  4. How the blocks connect with other parts of your program.

You do not need to memorize every block.