Programming Fundamentals with Blocks
Deepen your block programming skills with loops, conditions, variables, and random numbers.
Storing a Value: Variables
Learn what a variable is and how to store a number in it. Display your variable on the OLED screen and change it with Math blocks.
Making Decisions: If and Else
Teach your board to choose between two actions. Use an if/else block to check whether Switch A is pressed and light a different LED for each answer.
Counting with a Loop
Use a variable as a counter that goes up by one every time you press a button. Watch the count appear live on the OLED screen.
Comparing Values
Read the light sensor and compare its value to a threshold. Change the LED colour depending on whether it is bright or dark in the room.
Math in Your Programs
Use Math blocks to add, subtract, multiply, and divide. Store the result in a variable and display it on the OLED — all without any pencil and paper.
Keep Score
Combine variables, loops, conditions, and input to build a two-player score tracker. Switch A adds a point for Player 1, Switch B adds a point for Player 2. The first to reach 5 wins — and the buzzer celebrates!