Skip to main content
Version: Matrix OS 3.2

NumberSelector8x8

Preview notice

The MatrixOS Python API is in preview and is subject to change; it may contain errors.

Overview

The NumberSelector8x8 utility provides a full-screen number selection interface that utilizes the entire 8x8 LED grid. It allows users to select numeric values within a specified range with visual feedback.

The NumberSelector8x8 utility is implemented in Applications/Python/PikaPython/MatrixOS_UIUtility.py with type hints in Applications/Python/PikaPython/_MatrixOS_UIUtility.pyi.


NumberSelector8x8

def NumberSelector8x8(value: int, color: Color, name: str, lower_limit: int, upper_limit: int) -> int

Displays a full-screen number selector interface and returns the selected value.

Parameters:

  • value (int): Initial/current value to display
  • color (Color): Color theme for the selector
  • name (str): Name/title displayed with the selector
  • lower_limit (int): Minimum selectable value
  • upper_limit (int): Maximum selectable value

Returns:

  • int: Selected value chosen by the user

Comments