Block sections
There are a total of nine sections in CircuitBlocks. We've organized them so that you'll be able to find everything in maximum two clicks.
Sections themselves are pretty explanatory but we'll go through them all just so you can get a little bit 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, as well as comparisons,Ā and/or, not, true/falseĀ and other logical operators.
They can either have conditionals, and repeat for as long as that condition is met, or they can have a pre-determined amount of repeats.
Loops
Loops are functions that repeat everything inside for a specific amount of time.
They can either have conditionals, and repeat for as long as that condition is met, or they can have a pre-determined amount of repeats.
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 Pythagora in a matter of seconds!
Text
Strings, characters, and string manipulation. Great place for creating new text and implementing it to your programs.
Variables
Create a variable of any type and set its name and desired value. CB will automatically recognize the type of the variable (int, double, string, boolean) so you donāt need to worry about that.
Functions
The Default Arduino function (which is explained on the previous page) is located here.
You can also create your own functions which can then be inserted as one of the main parts of your program.
Input/Output
Everything regarding Ringoās components is located here.
LEDs, buttons, and joystick are controlled via these blocks.
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.
Time
Delays, timers, and other time-related stuff, great for creating cool animations and video games.
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ā¦
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 (where is that PRINT???).
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ā¦
BackNext