Following are the steps for creating scanner
Click this link https://microbit.org/
Then click on official code editor Microsoft Make Code to do programming
Then click on New Project and give project name as Scanner then this window will display
4. To Add the extensions , click advanced to see more choices and click extensions
5. click microturtle to add it in the project we just created
6. you can see a new item- turtle in the drawer now.
7. From turtle drag and drop set position of x and y axis and place it on start block, then set position of axis x= 0 and axis y= 4 to display led light on left corner.
8. From turtle drag and drop Turn right block to change the direction of led light to right.
9. From turtle drag and drop set speed block into 20
10. From turtle drag and drop forward step block set it as 4 step and place it on forever block to move 4 step ahead
11. From turtle drag and drop Turn right block to change the direction of led light to right.
12. From turtle drag and drop forward step block set it as 1 step and place it on forever block to move 1 step ahead
13. From turtle drag and drop Turn right block to change the direction of led light to right.
14. From turtle drag and drop forward step block set it as 4 step and place it on forever block to move 4 step ahead
15. From turtle drag and drop Turn left block to change the direction of led light to left.
16. From turtle drag and drop forward step block set it as 1 step and place it on forever block to move 1 step ahead
17. From turtle drag and drop Turn left block to change the direction of led light to left.
18. From turtle drag and drop forward step block set it as 4 step and place it on forever block to move 4 step ahead
19. If you have a micro:bit connected into laptop/pc/mobile using USB cable, Click on download button to transfer your code (hex file) and see the result
20. The result is shown below: it will scan
Result: