Block and API Reference
You can program CyberPi or mBot2 with Blocks or in Python.
Block reference
mBlock 5 provides multiple categories of blocks for CyberPi and mBot2, for details about how to use the blocks, see CyberPi/mBot2 Block Reference.
- Audio
- LED
- Display
- Motion sensing
- Sensing
- LAN
- AI
- IoT
- Events
- Control
- Operator
- Pocket Shield
- mBot2 Chassis
- mBot2 Extension Port
- Display+
- Ultrasonic Sensor 2
- Quad RGB Sensor
API reference
The mBlock-Python editor provides the cyberpi
library for CyberPi and mBot2, for details about the APIs, see Python API Documentation for CyberPi.