76
Programmable robot with micro:bit
Learn about condition and comparison block
Most operation of the code is checking and comparison data. The Microsoft
PXT block editor also provides the condition and comparison blocks. These are short
tutorial.
At the main window of Microsoft PXT block editor, click on the Logic list from a
block category on the left hand side of the page. The block of Logic will appear
following the screen short below.
1. Checking condition by if…then block
If the condition is true, execute the command in the
then
block
User can change the
if…then
block to
if…else…if
as follows :
Summary of Contents for iBIT RACER
Page 4: ...4 Programmable robot with micro bit...
Page 18: ...18 Programmable robot with micro bit...
Page 30: ...30 Programmable robot with micro bit Now the BIT Racer robot is ready for coding and fun...
Page 38: ...38 Programmable robot with micro bit...
Page 50: ......
Page 61: ...Programmable robot with micro bit 61...
Page 63: ...Programmable robot with micro bit 63...