欢迎来到 VEX AIM 的 API 参考网站#

探索使用 VEXcode AIM 进行编程所需的一切,包括使用 Blocks 和 Python 进行编程。本指南将帮助您浏览网站并充分利用现有资源。

此 API 信息适用于以下任一情况:

API Sections#

如何使用 API 参考#

  1. 选择您的语言:决定是否要在您的项目中使用 Blocks 或 Python。

    • 对于块,导航到 页面。

    • 对于 Python,导航到 Python 页面。

  2. 浏览或搜索:使用导航菜单或搜索栏来定位特定的命令或块。

  3. 阅读描述:每个块或方法都包含一个描述,解释其目的、参数和任何重要说明。

  4. Review the Examples: For commands that include examples, try them out with your own robot to see how they behave! For text-based examples in Python, select the Copy button to copy the example to your clipboard so it can be pasted into your coding environment.

  5. Experiment and Modify: Try out the command in your projects. Modify its parameters to fit your needs and observe the effects.

成功秘诀#

  • Start Simple: Begin with basic projects to get comfortable with VEXcode.

  • 阅读 API 参考:探索 API 参考以了解可用的功能及其操作。

  • 定期练习:您编写的代码越多,您对平台的熟练程度就会越高。

编码愉快,欢迎来到 VEXcode AIM!