评论#
注释块用于在 VEXcode 项目测试中做注释。
[comment]
在块内输入任何评论。
在此示例中,我们使用注释来记录 123 机器人的操作。这样可以更轻松地发现项目中的任何错误。
当开始 :: hat events
驱动 [向前 v]
永久循环
[Check if the sound button is pressed.]
如果 <[soundIcon v] 按下了? :: custom-sensing> 那么
[if the button is pressed, stop driving and stop checking.]
驱动停止
退出循环
结束
结束