19. Case15: Seeking the Light¶
19.4. Programming¶
Step 1¶
- Click “Advanced” in the MakeCode drawer to see more choices.
- We need to add a package for programming, click “Extensions” on the bottom of the drawer and search with
Cutebot
in the dialogue box to download it.
Note: If you met a tip indicating the codebase will be deleted due to incompatibility, you may continue as the tips tell or build a new project.
19.5. Result¶
- The Cutebot spins if there is no light being detected or it drives forward to it at its full speed.