VEX 123 API 參考#

Welcome to the VEX 123 API Reference. This site explains the Blocks available in VEXcode 123 and the Coder cards used with the VEX 123 Coder.

Use this reference to learn what a block or card does, what information it needs, what it reports, and how it can be used in a project.

API 部分#

  • 模組 - 了解 VEXcode 123 中可用的模組,包括每個模組的功能、輸入的含義以及如何在專案中使用它。

  • Coder Cards - Learn about the Coder cards used with the VEX 123 Coder, including what each card does and how it can be used in a project.

  • VEXcode 教學 - 尋找如何使用 VEXcode 123 的教學和支援資源。

如何使用此參考資料#

  1. 請選擇您正在使用的資源所在的版塊。

  2. Use the sidebar or search bar to find a device, category, block, card, or command.

  3. 閱讀說明以了解該模組的功能及其適用場景。

  4. 查看參數,了解需要哪些輸入以及有哪些選項。

  5. 請參閱範例,了解該模組在專案中的一種使用方式。

使用 API 的技巧#

  • 首先確定您正在使用的設備或類別,例如驅動系統、LED、聲音或感測。

  • 在複製範例之前,請先閱讀說明,以便了解該程式碼區塊的作用。

  • 仔細檢查參數表。輸入參數的微小變化都可能改變機器人的行為。

  • 以範例為起點,然後變更數值、方向或選項,使其與您自己的專案相符。