Comments#
Introduction#
Comments are used to add explanations or notes within the project. They do not affect how the project runs and are useful for clarifying logic or documenting functionality.
comment#
By clicking into a Comment block, you can edit the text inside. Pressing Enter or return on the keyboard or clicking off of the Comment block will save the text typed inside.
The default Comment stack block.#
[comment]
Parameters |
Description |
|---|---|
This block has no parameters. |
Example
when started, if the screen is pressed, set all LEDs color to green#
当开始
[Turn TouchLED green while it is pressed.]
永久循环
如果 <[TouchLED 1 v] 按下了?> 那么
设定 [TouchLED 1 v] 颜色为 [绿色 v]
否则
设定 [TouchLED 1 v] 颜色为 [none v]
结束
结束