LogoAI Kids Hub
Logo of Clear Screen

LED Display Reset with Clear Screen Function

Turn off all the LED lights on the LED screen using the basic.clearScreen() function.

Introduction

Clear Screen Functionality

The Clear Screen feature allows users to turn off all the LED lights on the LED screen of the micro:bit device. This is particularly useful in programming scenarios where you want to reset the display or clear previous outputs before showing new information. The function is simple to use and can be integrated into various projects, such as games or educational tools, where visual feedback is essential.

Key Features:
  • Function Call: Use basic.clearScreen() to turn off all LEDs.
  • Example Use Case: In a project where a heart is displayed, you can use this function to clear the screen after showing the heart, creating a visual effect of the heart disappearing.
  • Integration: Easily combine with other functions like basic.showLeds() to create dynamic visual displays.
Practical Applications:
  • Educational Projects: Teach programming concepts by demonstrating how to manipulate the LED display.
  • Game Development: Reset the screen in games to prepare for new rounds or states.

Traffic Statistics

Total Visits
825.09K
+8.02%
Avg Duration
00:05:58
Pages per Visit
4.43
Bounce Rate31.28%
Global RankN/A
Country RankN/A
Last Updated9/26/2025

Information

Categories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates