Coding Examples
micro:bit Programming - Use the if then else statement in MakeCode
bbc microbit robot if then else if then else microbit robot
In this article we explore the "if then else" block in the MakeCode programming language. This block is a logic block that extends the "if then" block. We wrote an introduction to the "if then" block here. In this example, we will show you how to program and if-then-else block and control a robot, helping the robot to decide if it should move forward or stop.
micro:bit Programming - Use buttons to control your micro:bit robot
button gigglebot button programming
In this tutorial, we'll walk you through how to use Button A and Button B on your micro:bit. We will use the GiggleBot robot for the micro:bit to show how you can use Buttons to give commands.
micro:bit Programming - Use a While Loop with a robot
In this tutorial we'll show how to use a While loop with the BBC micro:bit and demonstrated using the GiggleBot.
micro:bit Programming - Make an if statement with a robot
bbc microbit robot if then gigglebot if then if-then programming in makecode makecode microbit robot programming robot

micro:bit Programming - Make a For Loop
bbc microbit robot for loop for loop gigglebot for loop microbit microbit robot robot
