Page 67 - Ai Robogenius
P. 67
STEP - 3 Write the name of the project ShaketoChangeDisplayIcon in the
Give your project a name text box and click on the Create button.
STEP - 4 Drag the on shake block from the Input category to workspace for
initialising the program.
STEP - 5 Click on the Make a Variable block from the Variables category and
name it iconState.
This variable will store the current icon state.
Sensors in Micro:Bit
65

