Skip to main content

Reference

This section is organized from the actual firmware source under ports/esp32/boards/COCUBE, with priority given to the most common and stable APIs used in the lessons.

Module overview

  • cocube Motion, positioning, speed, and battery
  • display Screen initialization, Chinese and English text, and basic drawing
  • cocube_module Gripper, NeoPixel, ToF, light sensor, and voice modules
  • Camera Modules Overview Differences between Sengo1 and Sengo2, and when to choose each
  • cocube_sengo1 Algorithm switching, read APIs, and training APIs for Sengo1
  • cocube_sengo2 Algorithm switching, read APIs, and training APIs for Sengo2

Usage suggestions

  • Check the module page first, then write the lesson code
  • If a function requires an algorithm switch first, the reference page calls that out explicitly
  • Camera modules and expansion modules share some resources; pages that matter for that will note it separately