Skip to content

Pybricks 2.0

Choose a tag to compare

@laurensvalk laurensvalk released this 07 May 18:29
· 3950 commits to master since this release

Supported Hubs:

  • LEGO MINDSTORMS EV3 on ev3dev stretch

Main Updates:

  • Improved sensor read performance:
    • Faster access to values
    • Corrected mode switch behavior
  • Improved motor behavior and control:
    • Improved precision
    • Configurable control settings
    • Smooth transitions between subsequent motor commands
  • Improved DriveBase class:
    • Motor synchronization
    • Driving for given distance in millimeters
    • Turning by a given angle in degrees
  • New and improved EV3Brick class:
    • Faster speaker and screen performance
    • Play speech generated from text
    • Configurable fonts
    • Draw shapes on the screen
    • The older ev3brick module remains available
  • Improved error handling:
    • More descriptive error messaging
    • Stop motors safely on an exception
    • Enabled MicroPython GIL for improved thread safety
  • New generic I/O device classes to support custom devices:
    • I2C
    • UART
    • Analog voltage / resistance
    • Raw access to all ev3dev compatible sensors
    • LEGO UART protocol devices
    • DCMotor
  • New data logging class
  • Add support for NXT Sensors (Color, Light, Touch, Sound, Ultrasonic)
  • Add support for LEGO Education Temperature sensor and Energy Meter
  • Add support for Bluetooth communication between EV3 Bricks and/or PCs
  • Updated to MicroPython 1.11