Skip to content

3.4.7 Code Display Area

The code display area is used to show the program's code and supports two modes: auto-generation and manual editing.

1. Automatic Generation

When users program using visual blocks, the system automatically converts the block instructions into corresponding MicroPython code and displays it in real time in this area, helping users understand the relationship between visual instructions and code, and facilitating further learning.

image

2. Manual Editing

In the code display area, users can also switch to manual editing mode to directly enter MicroPython code in the code editor and write complete programs, which is suitable for users with some programming experience.

image