Block sections

random image


There are a total of nine sections in CircuitBlocks. We've organized them so that you'll be able to find everything in a maximum of two clicks.

The sections themselves are pretty self-explanatory, but we'll go through them all to get a little better understanding of the whole concept.

Some of the sections also have additional blocks (in the 'More' menu) where you'll be able to find some of the functions that are not used that often but can still be useful.  


Logic

This is where the base of every code is located.

Every if, if-else, else function, comparisons, and/or, not, true/false and other logical operators.  

random image


Loops

Loops are functions that repeat everything inside for a specific amount of time.

They can have conditional and repeat for as long as that condition is met or have a pre-determined number of repeats.

random image


Math

Pretty much every math function is located here. From basic operations to rounding numbers and working with angles, you will easily trigger your inner
Einstein or Pythagoras in a matter of seconds!

random image


Text

Strings, characters, and string manipulation. Great place for creating new text
and implementing it in your programs.

random image


Variables

Create a variable of any type and set its name and desired value. CB will automatically recognize the variable type (int, double, string, boolean), so you don’t need to worry about that.

random image


Functions

The Default Arduino function (explained on the previous page) is located here.

You can also create your functions which can then be inserted as one of the main parts of your program.

random image


Input/Output

Everything regarding ByteBoi’s components is located here.

LEDs, buttons, and joystick are controlled via these blocks.


random image


Display

Well, all these blocks are really not important if you don’t see anything on the screen!

Here is where all the magic translates to those colored pixels. You can create so much through these blocks.

random image


Time

Delays, timers, and other time-related stuff, great for creating cool animations and video games.

random image

 

Search bar

There is also a search bar above all function sections to ease the search for that one specific block you just can’t seem to find.  

Just type in whatever comes to your mind, and all blocks that have anything to do with the written word will be shown on the right-hand side.

Now, you really can’t say that it’s impossible to find something.

You’ve learned everything about the blocks!

It’s time to move on to the next lesson…