Skip to content

display

Display constants.

Attributes:

Name Type Description
BLACK int

Display color Black.

DISPLAY_HEIGHT int

Height of the display in pixel.

DISPLAY_WIDTH int

Width of the display in pixel.

LINE_HEIGHT int

Height of a text line on the display in pixel.

MAX_LINE_COUNT int

Number of text lines on the display.

WHITE int

Display color White.

BLACK module-attribute

BLACK: int = const(0)

Display color Black.

DISPLAY_HEIGHT module-attribute

DISPLAY_HEIGHT: int = const(64)

Height of the display in pixel.

DISPLAY_WIDTH module-attribute

DISPLAY_WIDTH: int = const(128)

Width of the display in pixel.

LINE_HEIGHT module-attribute

LINE_HEIGHT: int = const(12)

Height of a text line on the display in pixel.

MAX_LINE_COUNT module-attribute

MAX_LINE_COUNT: int = const(5)

Number of text lines on the display.

WHITE module-attribute

WHITE: int = const(1)

Display color White.